public final class MasterTextPropAtom extends RecordAtom
Modifier | Constructor and Description |
---|---|
|
MasterTextPropAtom()
Constructs a new empty master text prop atom.
|
protected |
MasterTextPropAtom(byte[] source,
int start,
int len)
Constructs the ruler atom record from its
source data.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getIndentAt(int offset)
Returns the indent that applies at the given text offset
|
java.util.List<IndentProp> |
getIndents() |
long |
getRecordType()
Gets the record type.
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written
to disk.
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
public MasterTextPropAtom()
protected MasterTextPropAtom(byte[] source, int start, int len)
source
- the source data as a byte array.start
- the start offset into the byte array.len
- the length of the slice in the byte array.public long getRecordType()
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public int getIndentAt(int offset)
public java.util.List<IndentProp> getIndents()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.