ParentAwareRecord
public final class TextHeaderAtom extends RecordAtom implements ParentAwareRecord
Modifier and Type | Field | Description |
---|---|---|
static int |
BODY_TYPE |
|
static int |
CENTER_TITLE_TYPE |
|
static int |
CENTRE_BODY_TYPE |
|
static int |
HALF_BODY_TYPE |
|
static int |
NOTES_TYPE |
|
static int |
OTHER_TYPE |
|
static int |
QUARTER_BODY_TYPE |
|
static int |
TITLE_TYPE |
Modifier | Constructor | Description |
---|---|---|
|
TextHeaderAtom() |
Create a new TextHeader Atom, for an unknown type of text
|
protected |
TextHeaderAtom(byte[] source,
int start,
int len) |
For the TextHeader Atom
|
Modifier and Type | Method | Description |
---|---|---|
RecordContainer |
getParentRecord() |
|
long |
getRecordType() |
We are of type 3999
|
int |
getTextType() |
|
void |
setParentRecord(RecordContainer record) |
|
void |
setTextType(int type) |
|
void |
writeOut(java.io.OutputStream out) |
Write the contents of the record back, so it can be written
to disk
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
getChildRecords, isAnAtom
public static final int TITLE_TYPE
public static final int BODY_TYPE
public static final int NOTES_TYPE
public static final int OTHER_TYPE
public static final int CENTRE_BODY_TYPE
public static final int CENTER_TITLE_TYPE
public static final int HALF_BODY_TYPE
public static final int QUARTER_BODY_TYPE
protected TextHeaderAtom(byte[] source, int start, int len)
public TextHeaderAtom()
public int getTextType()
public void setTextType(int type)
public RecordContainer getParentRecord()
getParentRecord
in interface ParentAwareRecord
public void setParentRecord(RecordContainer record)
setParentRecord
in interface ParentAwareRecord
public long getRecordType()
getRecordType
in class Record
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.