Class Segment.Text
java.lang.Object
com.vladsch.flexmark.util.sequence.builder.tree.Segment
com.vladsch.flexmark.util.sequence.builder.tree.Segment.Text
- Enclosing class:
Segment
-
Nested Class Summary
Nested classes/interfaces inherited from class Segment
Segment.Base, Segment.SegType, Segment.Text, Segment.TextAsciiCharSequence, Segment.TextCharSequence, Segment.TextCharSequenceBase, Segment.TextRepeatedSequence -
Field Summary
FieldsFields inherited from class Segment
byteOffset, bytes, pos, startIndex, TYPE_ANCHOR, TYPE_BASE, TYPE_HAS_BOTH, TYPE_HAS_BYTE, TYPE_HAS_BYTES, TYPE_HAS_CHAR, TYPE_HAS_CHARS, TYPE_HAS_LENGTH, TYPE_HAS_OFFSET, TYPE_LENGTH_BYTES, TYPE_MASK, TYPE_NO_SIZE_BYTES, TYPE_REPEATED_ASCII, TYPE_REPEATED_EOL, TYPE_REPEATED_SPACE, TYPE_REPEATED_TEXT, TYPE_START_BYTES, TYPE_TEXT, TYPE_TEXT_ASCII -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Segment
addChar, addCharAscii, addChars, addCharsAscii, addIntBytes, addSegBytes, getByteLength, getByteOffset, getBytes, getChar, getCharAscii, getEndIndex, getInt, getIntBytes, getLengthBytes, getOffsetBytes, getPos, getSegByteLength, getSegByteLength, getSegment, getSegType, getStartIndex, getType, hasAll, notInSegment, offsetNotInSegment, toString
-
Field Details
-
chars
-
-
Constructor Details
-
Text
public Text(int pos, byte[] bytes, int byteOffset, int indexOffset)
-
-
Method Details
-
length
-
charAt
-
isBase
-
isAnchor
-
isText
-
textType
int textType() -
isFirst256Start
public boolean isFirst256Start()- Specified by:
isFirst256Startin classSegment
-
isRepeatedTextEnd
public boolean isRepeatedTextEnd()- Specified by:
isRepeatedTextEndin classSegment
-
getStartOffset
public int getStartOffset()- Specified by:
getStartOffsetin classSegment
-
getEndOffset
public int getEndOffset()- Specified by:
getEndOffsetin classSegment
-
getCharSequence
- Specified by:
getCharSequencein classSegment
-