| Modifier and Type | Method and Description |
|---|---|
static BasedSequence |
Utils.asBased(CharSequence sequence) |
| Modifier and Type | Method and Description |
|---|---|
Node |
IParse.parse(BasedSequence input)
Parse the specified input text into a tree of nodes.
|
| Modifier and Type | Field and Description |
|---|---|
static BasedSequence[] |
Node.EMPTY_SEGMENTS |
| Modifier and Type | Field and Description |
|---|---|
protected List<BasedSequence> |
ContentNode.lineSegments |
| Modifier and Type | Method and Description |
|---|---|
List<BasedSequence> |
Content.getContentLines() |
List<BasedSequence> |
ContentNode.getContentLines() |
List<BasedSequence> |
Content.getContentLines(int startLine,
int endLine) |
List<BasedSequence> |
ContentNode.getContentLines(int startLine,
int endLine) |
List<BasedSequence> |
BlockContent.getLines() |
| Modifier and Type | Method and Description |
|---|---|
void |
BlockContent.add(BasedSequence lineWithEOL,
int lineIndent) |
static void |
Node.delimitedSegmentSpan(StringBuilder out,
BasedSequence openingSequence,
BasedSequence sequence,
BasedSequence closingSequence,
String name) |
static void |
Node.delimitedSegmentSpanChars(StringBuilder out,
BasedSequence openingSequence,
BasedSequence sequence,
BasedSequence closingSequence,
String name) |
protected BasedSequence |
Node.deNullify(BasedSequence nullable) |
static BasedSequence |
Node.getLeadSegment(BasedSequence[] segments) |
static BasedSequence |
Node.getTrailSegment(BasedSequence[] segments) |
static void |
Node.segmentSpan(StringBuilder out,
BasedSequence sequence,
String name) |
static void |
Node.segmentSpanChars(StringBuilder out,
BasedSequence sequence,
String name) |
void |
Node.setChars(BasedSequence chars) |
void |
ContentNode.setContent(BasedSequence chars,
List<BasedSequence> lineSegments) |
void |
ContentNode.setContentLine(int lineIndex,
BasedSequence contentLine) |
static BasedSequence |
Node.spanningChars(BasedSequence... segments) |
static String |
Node.toSegmentSpan(BasedSequence sequence,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
BlockContent.addAll(List<BasedSequence> lines,
List<Integer> lineIndents) |
void |
ContentNode.setContent(BasedSequence chars,
List<BasedSequence> lineSegments) |
void |
ContentNode.setContent(List<BasedSequence> lineSegments) |
void |
ContentNode.setContentLines(List<BasedSequence> contentLines) |
| Constructor and Description |
|---|
BlankLine(BasedSequence chars) |
BlankLine(BasedSequence chars,
Block claimedBlankLine) |
Block(BasedSequence chars) |
Block(BasedSequence chars,
List<BasedSequence> lineSegments) |
ContentNode(BasedSequence chars) |
ContentNode(BasedSequence chars,
List<BasedSequence> lineSegments) |
CustomBlock(BasedSequence chars)
Deprecated.
|
CustomBlock(BasedSequence chars,
List<BasedSequence> lineSegments)
Deprecated.
|
CustomNode(BasedSequence chars)
Deprecated.
|
Document(DataHolder options,
BasedSequence chars) |
Node(BasedSequence chars) |
| Constructor and Description |
|---|
Block(BasedSequence chars,
List<BasedSequence> lineSegments) |
Block(List<BasedSequence> lineSegments) |
ContentNode(BasedSequence chars,
List<BasedSequence> lineSegments) |
ContentNode(List<BasedSequence> lineSegments) |
CustomBlock(BasedSequence chars,
List<BasedSequence> lineSegments)
Deprecated.
|
CustomBlock(List<BasedSequence> lineSegments)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
BasedSequence |
TableCell.closeMarker |
BasedSequence |
TableCell.openMarker |
BasedSequence |
TableCell.text |
| Modifier and Type | Method and Description |
|---|---|
BasedSequence |
MarkdownTable.getCaption() |
| Modifier and Type | Method and Description |
|---|---|
static void |
MarkdownTable.appendFormattedCaption(FormattingAppendable out,
BasedSequence caption,
TableFormatOptions options) |
static String |
MarkdownTable.formattedCaption(BasedSequence caption,
TableFormatOptions options) |
| Modifier and Type | Method and Description |
|---|---|
static BasedSequence |
Escaping.collapseWhitespace(BasedSequence s,
ReplacedTextMapper textMapper) |
static BasedSequence |
Html5Entities.entityToSequence(BasedSequence input) |
static BasedSequence |
Escaping.escapeHtml(BasedSequence s,
boolean preserveEntities,
ReplacedTextMapper textMapper) |
BasedSequence |
FormattingAppendableImpl.getPrefix() |
static BasedSequence |
Escaping.normalizeEndWithEOL(BasedSequence s,
ReplacedTextMapper textMapper)
Normalize eol: embedded \r and \r\n are converted to \n
|
static BasedSequence |
Escaping.normalizeEOL(BasedSequence s,
ReplacedTextMapper textMapper)
Normalize eol: embedded \r and \r\n are converted to \n
|
static BasedSequence |
Escaping.normalizeEOL(BasedSequence s,
ReplacedTextMapper textMapper,
boolean endWithEOL)
Normalize eol: embedded \r and \r\n are converted to \n
|
static BasedSequence |
Escaping.removeAll(BasedSequence s,
CharSequence remove,
ReplacedTextMapper textMapper)
Replace entities and backslash escapes with literal characters.
|
static BasedSequence |
Escaping.unescape(BasedSequence s,
ReplacedTextMapper textMapper)
Replace entities and backslash escapes with literal characters.
|
static BasedSequence |
Escaping.unescapeHtml(BasedSequence s,
ReplacedTextMapper textMapper)
Replace entities and backslash escapes with literal characters.
|
| Modifier and Type | Method and Description |
|---|---|
static BasedSequence |
Escaping.collapseWhitespace(BasedSequence s,
ReplacedTextMapper textMapper) |
static BasedSequence |
Html5Entities.entityToSequence(BasedSequence input) |
static BasedSequence |
Escaping.escapeHtml(BasedSequence s,
boolean preserveEntities,
ReplacedTextMapper textMapper) |
static BasedSequence |
Escaping.normalizeEndWithEOL(BasedSequence s,
ReplacedTextMapper textMapper)
Normalize eol: embedded \r and \r\n are converted to \n
|
static BasedSequence |
Escaping.normalizeEOL(BasedSequence s,
ReplacedTextMapper textMapper)
Normalize eol: embedded \r and \r\n are converted to \n
|
static BasedSequence |
Escaping.normalizeEOL(BasedSequence s,
ReplacedTextMapper textMapper,
boolean endWithEOL)
Normalize eol: embedded \r and \r\n are converted to \n
|
static BasedSequence |
Escaping.removeAll(BasedSequence s,
CharSequence remove,
ReplacedTextMapper textMapper)
Replace entities and backslash escapes with literal characters.
|
static BasedSequence |
Escaping.unescape(BasedSequence s,
ReplacedTextMapper textMapper)
Replace entities and backslash escapes with literal characters.
|
static BasedSequence |
Escaping.unescapeHtml(BasedSequence s,
ReplacedTextMapper textMapper)
Replace entities and backslash escapes with literal characters.
|
| Modifier and Type | Field and Description |
|---|---|
protected BasedSequence |
ParsedOption.mySource |
protected BasedSequence |
ParserMessage.source |
| Modifier and Type | Method and Description |
|---|---|
BasedSequence |
ParserMessage.getSource() |
BasedSequence |
ParsedOption.getSource() |
| Modifier and Type | Method and Description |
|---|---|
Pair<T,List<ParsedOption<T>>> |
OptionsParser.parseOption(BasedSequence optionsText,
T options,
MessageProvider provider) |
Pair<T,List<ParsedOption<T>>> |
OptionParser.parseOption(BasedSequence optionText,
T options,
MessageProvider provider) |
Pair<T,List<ParsedOption<T>>> |
BooleanOptionParser.parseOption(BasedSequence optionText,
T options,
MessageProvider provider) |
| Constructor and Description |
|---|
ParsedOption(BasedSequence source,
OptionParser<T> optionParser,
ParsedOptionStatus optionResult) |
ParsedOption(BasedSequence source,
OptionParser<T> optionParser,
ParsedOptionStatus optionResult,
List<ParserMessage> messages) |
ParsedOption(BasedSequence source,
OptionParser<T> optionParser,
ParsedOptionStatus optionResult,
List<ParserMessage> messages,
List<ParsedOption<T>> parsedOptions) |
ParsedOption(BasedSequence source,
OptionParser<T> optionParser,
ParsedOptionStatus optionResult,
ParserMessage message) |
ParserMessage(BasedSequence source,
ParsedOptionStatus status,
String message) |
| Modifier and Type | Class and Description |
|---|---|
static class |
BasedSequence.EmptyBasedSequence |
class |
BasedSequenceImpl
A CharSequence that references original char sequence and maps '\0' to '�'
a subSequence() returns a sub-sequence from the original base sequence
|
class |
CharSubSequence
A CharSequence that references original char[] and maps '\0' to '�'
a subSequence() returns a sub-sequence from the original base sequence
|
class |
MappedSequence
A CharSequence that maps characters according to CharMapper
|
class |
PrefixedSubSequence
A CharSequence that references original char sequence, maps '\0' to '�' and is prefixed with a fixed string
a subSequence() returns a sub-sequence from the original base sequence, possibly with a prefix if it falls in range
|
class |
SegmentedSequence
A CharSequence that references original char sequence and maps '\0' to '�'
a subSequence() returns a sub-sequence from the original base sequence
|
class |
SubSequence
A CharSequence that references original char sequence and maps '\0' to '�'
a subSequence() returns a sub-sequence from the original base sequence
|
| Modifier and Type | Field and Description |
|---|---|
static BasedSequence[] |
BasedSequence.EMPTY_ARRAY |
static BasedSequence[] |
BasedSequence.EMPTY_SEGMENTS |
static BasedSequence |
BasedSequence.EOL |
static BasedSequence |
BasedSequence.NULL |
static BasedSequence |
BasedSequence.SPACE |
| Modifier and Type | Field and Description |
|---|---|
static List<BasedSequence> |
BasedSequence.EMPTY_LIST |
| Modifier and Type | Method and Description |
|---|---|
BasedSequence |
BasedSequence.append(CharSequence... others) |
BasedSequence |
BasedSequenceImpl.append(CharSequence... others) |
BasedSequence |
BasedSequence.appendTo(StringBuilder out) |
BasedSequence |
BasedSequenceImpl.appendTo(StringBuilder out) |
BasedSequence |
BasedSequence.appendTo(StringBuilder out,
int start) |
BasedSequence |
BasedSequenceImpl.appendTo(StringBuilder out,
int start) |
BasedSequence |
BasedSequence.appendTo(StringBuilder out,
int start,
int end) |
BasedSequence |
BasedSequenceImpl.appendTo(StringBuilder out,
int start,
int end) |
BasedSequence |
CharSubSequence.appendTo(StringBuilder out,
int start,
int end) |
BasedSequence |
SubSequence.appendTo(StringBuilder out,
int start,
int end) |
BasedSequence |
BasedSequence.baseSubSequence(int start)
Get a portion of the original sequence that this sequence is based on
|
BasedSequence |
BasedSequenceImpl.baseSubSequence(int start) |
BasedSequence |
PrefixedSubSequence.baseSubSequence(int start,
int end) |
BasedSequence |
MappedSequence.baseSubSequence(int start,
int end) |
BasedSequence |
BasedSequence.baseSubSequence(int start,
int end)
Get a portion of the original sequence that this sequence is based on
|
BasedSequence |
BasedSequence.EmptyBasedSequence.baseSubSequence(int start,
int end) |
BasedSequence |
SegmentedSequence.baseSubSequence(int start,
int end) |
BasedSequence |
BasedSequence.endSequence(int start)
Convenience method to get characters offset from end of sequence.
|
BasedSequence |
BasedSequenceImpl.endSequence(int start) |
BasedSequence |
BasedSequence.endSequence(int start,
int end)
Convenience method to get characters offset from end of sequence.
|
BasedSequence |
BasedSequenceImpl.endSequence(int start,
int end) |
static BasedSequence |
BasedSequenceImpl.firstNonNull(BasedSequence... sequences) |
BasedSequence |
BasedSequence.EmptyBasedSequence.getBase() |
BasedSequence |
PrefixedSubSequence.getBaseSequence() |
BasedSequence |
MappedSequence.getBaseSequence() |
BasedSequence |
BasedSequence.getBaseSequence()
Get the base sequence for the text
|
BasedSequence |
BasedSequence.EmptyBasedSequence.getBaseSequence() |
BasedSequence |
SegmentedSequence.getBaseSequence() |
BasedSequence |
ReplacedTextMapper.getReplacedSequence() |
BasedSequence |
BasedSequence.ifNull(BasedSequence other)
If this sequence is the BasedSequence.NULL instance then returns other,
otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.ifNull(BasedSequence other) |
BasedSequence |
BasedSequence.ifNullEmptyAfter(BasedSequence other)
If this sequence is the BasedSequence.NULL instance then returns an empty subSequence from the end of other,
otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.ifNullEmptyAfter(BasedSequence other) |
BasedSequence |
BasedSequence.ifNullEmptyBefore(BasedSequence other)
If this sequence is the BasedSequence.NULL instance then returns an empty subSequence from the start of other,
otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.ifNullEmptyBefore(BasedSequence other) |
BasedSequence |
BasedSequence.intersect(BasedSequence other)
start/end offset based intersection, not textual
|
BasedSequence |
BasedSequenceImpl.intersect(BasedSequence other) |
BasedSequence |
BasedSequence.lineAt(int index)
Get the line characters at given index, line delimited by \n
|
BasedSequence |
BasedSequenceImpl.lineAt(int index) |
BasedSequence |
BasedSequence.lineAtAnyEOL(int index)
Get the line characters at given index, line delimited by \n, \r or \r\n
|
BasedSequence |
BasedSequenceImpl.lineAtAnyEOL(int index) |
BasedSequence |
BasedSequence.midSequence(int start)
Convenience method to get characters offset from start or end of sequence.
|
BasedSequence |
BasedSequenceImpl.midSequence(int start) |
BasedSequence |
BasedSequence.midSequence(int start,
int end)
Convenience method to get characters offset from start or end of sequence.
|
BasedSequence |
BasedSequenceImpl.midSequence(int start,
int end) |
BasedSequence |
BasedSequence.normalizeEndWithEOL(ReplacedTextMapper textMapper)
replace any \r\n and \r by \n, append terminating EOL if one is not present
|
BasedSequence |
BasedSequenceImpl.normalizeEndWithEOL(ReplacedTextMapper textMapper) |
BasedSequence |
BasedSequence.normalizeEOL(ReplacedTextMapper textMapper)
replace any \r\n and \r by \n
|
BasedSequence |
BasedSequenceImpl.normalizeEOL(ReplacedTextMapper textMapper) |
BasedSequence |
BasedSequence.nullIf(boolean condition)
If condition is true return BasedSequence.NULL otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.nullIf(boolean condition) |
BasedSequence |
BasedSequence.nullIf(CharSequence... matches)
If this sequence matches one of given sequences return BasedSequence.NULL otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.nullIf(CharSequence... matches) |
BasedSequence |
BasedSequence.nullIfBlank()
If this sequence is blank return BasedSequence.NULL otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.nullIfBlank() |
BasedSequence |
BasedSequence.nullIfEmpty()
If this sequence is empty return BasedSequence.NULL otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.nullIfEmpty() |
BasedSequence |
BasedSequence.nullIfEndsWith(CharSequence... matches)
If this sequence ends with one of given sequences return BasedSequence.NULL otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.nullIfEndsWith(CharSequence... matches) |
BasedSequence |
BasedSequence.nullIfEndsWithNot(CharSequence... matches)
If this sequence does not end with one of given sequences return BasedSequence.NULL otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.nullIfEndsWithNot(CharSequence... matches) |
BasedSequence |
BasedSequence.nullIfNot(CharSequence... matches)
If this sequence does not match one of given sequences return BasedSequence.NULL otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.nullIfNot(CharSequence... matches) |
BasedSequence |
BasedSequence.nullIfStartsWith(CharSequence... matches)
If this sequence starts with one of given sequences return BasedSequence.NULL otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.nullIfStartsWith(CharSequence... matches) |
BasedSequence |
BasedSequence.nullIfStartsWithNot(CharSequence... matches)
If this sequence does not start with one of given sequences return BasedSequence.NULL otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.nullIfStartsWithNot(CharSequence... matches) |
static BasedSequence |
SegmentedSequence.of(BasedSequence... segments) |
static BasedSequence |
BasedSequenceImpl.of(CharSequence charSequence) |
static BasedSequence |
SubSequence.of(CharSequence charSequence) |
static BasedSequence |
BasedSequenceImpl.of(CharSequence charSequence,
int start) |
static BasedSequence |
SubSequence.of(CharSequence charSequence,
int start) |
static BasedSequence |
BasedSequenceImpl.of(CharSequence charSequence,
int start,
int end) |
static BasedSequence |
SubSequence.of(CharSequence charSequence,
int start,
int end) |
static BasedSequence |
SegmentedSequence.of(List<BasedSequence> segments)
removed empty and return BasedSequence.NULL when no segments which is the logical result however,
this will mean empty node text in FencedCodeBlock will now return NULL sequence instead of an empty
sequence from the document.
|
BasedSequence |
BasedSequence.padEnd(int length) |
BasedSequence |
BasedSequenceImpl.padEnd(int length) |
BasedSequence |
BasedSequence.padEnd(int length,
char pad) |
BasedSequence |
BasedSequenceImpl.padEnd(int length,
char pad) |
BasedSequence |
BasedSequence.padStart(int length) |
BasedSequence |
BasedSequenceImpl.padStart(int length) |
BasedSequence |
BasedSequence.padStart(int length,
char pad) |
BasedSequence |
BasedSequenceImpl.padStart(int length,
char pad) |
BasedSequence |
BasedSequence.prefixOf(BasedSequence other)
Get the prefix part of this from other, start/end offset based containment, not textual
|
BasedSequence |
BasedSequenceImpl.prefixOf(BasedSequence other) |
BasedSequence |
BasedSequence.removePrefix(CharSequence prefix)
Remove prefix if present
|
BasedSequence |
BasedSequenceImpl.removePrefix(CharSequence prefix) |
BasedSequence |
BasedSequence.removePrefix(CharSequence prefix,
boolean ignoreCase)
Remove prefix if present
|
BasedSequence |
BasedSequenceImpl.removePrefix(CharSequence prefix,
boolean ignoreCase) |
BasedSequence |
BasedSequence.removePrefixIgnoreCase(CharSequence prefix)
Remove prefix if present, ignoring case differences
|
BasedSequence |
BasedSequenceImpl.removePrefixIgnoreCase(CharSequence prefix) |
BasedSequence |
BasedSequence.removeProperPrefix(CharSequence prefix)
Remove prefix if present but only if this sequence is longer than the suffix
|
BasedSequence |
BasedSequenceImpl.removeProperPrefix(CharSequence prefix) |
BasedSequence |
BasedSequence.removeProperPrefix(CharSequence prefix,
boolean ignoreCase)
Remove prefix if present but only if this sequence is longer than the suffix
|
BasedSequence |
BasedSequenceImpl.removeProperPrefix(CharSequence prefix,
boolean ignoreCase) |
BasedSequence |
BasedSequence.removeProperPrefixIgnoreCase(CharSequence prefix)
Remove prefix if present but only if this sequence is longer than the suffix, ignoring case differences
|
BasedSequence |
BasedSequenceImpl.removeProperPrefixIgnoreCase(CharSequence prefix) |
BasedSequence |
BasedSequence.removeProperSuffix(CharSequence suffix)
Remove suffix if present but only if this sequence is longer than the suffix
|
BasedSequence |
BasedSequenceImpl.removeProperSuffix(CharSequence suffix) |
BasedSequence |
BasedSequence.removeProperSuffix(CharSequence suffix,
boolean ignoreCase)
Remove suffix if present but only if this sequence is longer than the suffix
|
BasedSequence |
BasedSequenceImpl.removeProperSuffix(CharSequence suffix,
boolean ignoreCase) |
BasedSequence |
BasedSequence.removeProperSuffixIgnoreCase(CharSequence suffix)
Remove suffix if present but only if this sequence is longer than the suffix, ignoring case differences
|
BasedSequence |
BasedSequenceImpl.removeProperSuffixIgnoreCase(CharSequence suffix) |
BasedSequence |
BasedSequence.removeSuffix(CharSequence suffix)
Remove suffix if present
|
BasedSequence |
BasedSequenceImpl.removeSuffix(CharSequence suffix) |
BasedSequence |
BasedSequence.removeSuffix(CharSequence suffix,
boolean ignoreCase)
Remove suffix if present
|
BasedSequence |
BasedSequenceImpl.removeSuffix(CharSequence suffix,
boolean ignoreCase) |
BasedSequence |
BasedSequence.removeSuffixIgnoreCase(CharSequence suffix)
Remove suffix if present, ignoring case differences
|
BasedSequence |
BasedSequenceImpl.removeSuffixIgnoreCase(CharSequence suffix) |
BasedSequence |
BasedSequence.replace(CharSequence find,
CharSequence replace)
Replace all occurrences of one sequence with another
|
BasedSequence |
BasedSequenceImpl.replace(CharSequence find,
CharSequence replace) |
BasedSequence |
Range.safeSubSequence(CharSequence charSequence) |
BasedSequence |
BasedSequence.spliceAtEnd(BasedSequence other)
Splice the given sequence to the end of this one and return a BasedSequence of the result.
|
BasedSequence |
BasedSequenceImpl.spliceAtEnd(BasedSequence other) |
BasedSequence[] |
BasedSequence.split(char delimiter) |
BasedSequence[] |
BasedSequenceImpl.split(char delimiter) |
BasedSequence[] |
BasedSequence.split(char delimiter,
int limit) |
BasedSequence[] |
BasedSequenceImpl.split(char delimiter,
int limit) |
BasedSequence[] |
BasedSequence.split(char delimiter,
int limit,
int flags) |
BasedSequence[] |
BasedSequenceImpl.split(char delimiter,
int limit,
int flags) |
BasedSequence[] |
BasedSequence.split(char delimiter,
int limit,
int flags,
String trimChars)
Split helpers based on delimiter character sets contained in CharSequence
|
BasedSequence[] |
BasedSequenceImpl.split(char delimiter,
int limit,
int flags,
String trimChars) |
BasedSequence[] |
BasedSequence.split(CharSequence delimiter) |
BasedSequence[] |
BasedSequenceImpl.split(CharSequence delimiter) |
BasedSequence[] |
BasedSequence.split(CharSequence delimiter,
int limit) |
BasedSequence[] |
BasedSequenceImpl.split(CharSequence delimiter,
int limit) |
BasedSequence[] |
BasedSequence.split(CharSequence delimiter,
int limit,
int flags) |
BasedSequence[] |
BasedSequenceImpl.split(CharSequence delimiter,
int limit,
int flags) |
BasedSequence[] |
BasedSequence.split(CharSequence delimiter,
int limit,
int flags,
String trimChars) |
BasedSequence[] |
BasedSequenceImpl.split(CharSequence delimiter,
int limit,
int flags,
String trimChars) |
BasedSequence |
Range.subSequence(CharSequence charSequence) |
BasedSequence |
BasedSequence.subSequence(int start)
Get a portion of this sequence starting from a given offset to end of the sequence
|
BasedSequence |
BasedSequenceImpl.subSequence(int start) |
BasedSequence |
PrefixedSubSequence.subSequence(int start,
int end) |
BasedSequence |
MappedSequence.subSequence(int start,
int end) |
BasedSequence |
BasedSequence.subSequence(int start,
int end)
Get a portion of this sequence
|
BasedSequence |
BasedSequence.EmptyBasedSequence.subSequence(int i,
int i1) |
BasedSequence |
SegmentedSequence.subSequence(int start,
int end) |
BasedSequence |
BasedSequence.subSequence(Range range)
Get a portion of this sequence
|
BasedSequence |
BasedSequenceImpl.subSequence(Range range) |
BasedSequence |
BasedSequence.suffixOf(BasedSequence other)
Get the suffix part of this from other, start/end offset based containment, not textual
|
BasedSequence |
BasedSequenceImpl.suffixOf(BasedSequence other) |
BasedSequence |
SegmentedSequenceBuilder.toBasedSequence() |
BasedSequence[] |
SegmentedSequenceBuilder.toSegments() |
BasedSequence |
BasedSequence.trim() |
BasedSequence |
BasedSequenceImpl.trim() |
BasedSequence |
BasedSequence.trim(CharSequence chars) |
BasedSequence |
BasedSequenceImpl.trim(CharSequence chars) |
BasedSequence |
BasedSequence.trimEnd() |
BasedSequence |
BasedSequenceImpl.trimEnd() |
BasedSequence |
BasedSequence.trimEnd(CharSequence chars) |
BasedSequence |
BasedSequenceImpl.trimEnd(CharSequence chars) |
BasedSequence |
BasedSequence.trimEnd(int keepLength) |
BasedSequence |
BasedSequenceImpl.trimEnd(int keepLength) |
BasedSequence |
BasedSequence.trimEnd(int keepLength,
CharSequence chars) |
BasedSequence |
BasedSequenceImpl.trimEnd(int keepLength,
CharSequence chars) |
BasedSequence |
BasedSequence.trimEOL() |
BasedSequence |
BasedSequenceImpl.trimEOL() |
BasedSequence |
BasedSequence.trimLeadBlankLines() |
BasedSequence |
BasedSequenceImpl.trimLeadBlankLines() |
BasedSequence |
BasedSequence.trimmedEnd() |
BasedSequence |
BasedSequenceImpl.trimmedEnd() |
BasedSequence |
BasedSequence.trimmedEnd(CharSequence chars) |
BasedSequence |
BasedSequenceImpl.trimmedEnd(CharSequence chars) |
BasedSequence |
BasedSequence.trimmedEnd(int keepLength) |
BasedSequence |
BasedSequenceImpl.trimmedEnd(int keepLength) |
BasedSequence |
BasedSequence.trimmedEnd(int keepLength,
CharSequence chars) |
BasedSequence |
BasedSequenceImpl.trimmedEnd(int keepLength,
CharSequence chars) |
BasedSequence |
BasedSequence.trimmedEOL() |
BasedSequence |
BasedSequenceImpl.trimmedEOL() |
BasedSequence |
BasedSequence.trimmedStart() |
BasedSequence |
BasedSequenceImpl.trimmedStart() |
BasedSequence |
BasedSequence.trimmedStart(CharSequence chars) |
BasedSequence |
BasedSequenceImpl.trimmedStart(CharSequence chars) |
BasedSequence |
BasedSequence.trimmedStart(int keepLength) |
BasedSequence |
BasedSequenceImpl.trimmedStart(int keepLength) |
BasedSequence |
BasedSequence.trimmedStart(int keepLength,
CharSequence chars)
Get the characters Trimmed, Trimmed from start/end of this sequence, characters to trim are passed in the sequence argument
|
BasedSequence |
BasedSequenceImpl.trimmedStart(int keepLength,
CharSequence chars) |
BasedSequence |
BasedSequence.trimStart() |
BasedSequence |
BasedSequenceImpl.trimStart() |
BasedSequence |
BasedSequence.trimStart(CharSequence chars) |
BasedSequence |
BasedSequenceImpl.trimStart(CharSequence chars) |
BasedSequence |
BasedSequence.trimStart(int keepLength) |
BasedSequence |
BasedSequenceImpl.trimStart(int keepLength) |
BasedSequence |
BasedSequence.trimStart(int keepLength,
CharSequence chars)
Trim, Trim start/end of this sequence, characters to trim are passed in the sequence argument
|
BasedSequence |
BasedSequenceImpl.trimStart(int keepLength,
CharSequence chars) |
BasedSequence |
BasedSequence.trimTailBlankLines()
Trim leading trailing blank lines in this sequence
|
BasedSequence |
BasedSequenceImpl.trimTailBlankLines() |
BasedSequence |
BasedSequence.unescape(ReplacedTextMapper textMapper)
Get the unescaped string of this sequence content
|
BasedSequence |
BasedSequenceImpl.unescape(ReplacedTextMapper textMapper) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<BasedSequence> |
ReplacedTextMapper.getReplacedSegments() |
| Modifier and Type | Method and Description |
|---|---|
void |
ReplacedTextMapper.addReplacedText(int startIndex,
int endIndex,
BasedSequence replacedSequence) |
SegmentedSequenceBuilder |
SegmentedSequenceBuilder.append(BasedSequence s) |
boolean |
BasedSequence.containsAllOf(BasedSequence other)
start/end offset based containment, not textual
|
boolean |
BasedSequenceImpl.containsAllOf(BasedSequence other) |
boolean |
BasedSequence.containsSomeOf(BasedSequence other)
start/end offset based containment, not textual
|
boolean |
BasedSequenceImpl.containsSomeOf(BasedSequence other) |
static BasedSequence |
BasedSequenceImpl.firstNonNull(BasedSequence... sequences) |
BasedSequence |
BasedSequence.ifNull(BasedSequence other)
If this sequence is the BasedSequence.NULL instance then returns other,
otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.ifNull(BasedSequence other) |
BasedSequence |
BasedSequence.ifNullEmptyAfter(BasedSequence other)
If this sequence is the BasedSequence.NULL instance then returns an empty subSequence from the end of other,
otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.ifNullEmptyAfter(BasedSequence other) |
BasedSequence |
BasedSequence.ifNullEmptyBefore(BasedSequence other)
If this sequence is the BasedSequence.NULL instance then returns an empty subSequence from the start of other,
otherwise returns this sequence.
|
BasedSequence |
BasedSequenceImpl.ifNullEmptyBefore(BasedSequence other) |
BasedSequence |
BasedSequence.intersect(BasedSequence other)
start/end offset based intersection, not textual
|
BasedSequence |
BasedSequenceImpl.intersect(BasedSequence other) |
boolean |
BasedSequence.isContinuationOf(BasedSequence other)
Test if this sequence is a continuation of the given sequence in original source text
|
boolean |
BasedSequenceImpl.isContinuationOf(BasedSequence other) |
boolean |
BasedSequence.isContinuedBy(BasedSequence other)
Test if the given sequence is a continuation of this sequence in original source text
|
boolean |
BasedSequenceImpl.isContinuedBy(BasedSequence other) |
static BasedSequence |
SegmentedSequence.of(BasedSequence... segments) |
static PrefixedSubSequence |
PrefixedSubSequence.of(String prefix,
BasedSequence baseSeq) |
static PrefixedSubSequence |
PrefixedSubSequence.of(String prefix,
BasedSequence baseSeq,
int start) |
static PrefixedSubSequence |
PrefixedSubSequence.of(String prefix,
BasedSequence baseSeq,
int start,
int end) |
BasedSequence |
BasedSequence.prefixOf(BasedSequence other)
Get the prefix part of this from other, start/end offset based containment, not textual
|
BasedSequence |
BasedSequenceImpl.prefixOf(BasedSequence other) |
static PrefixedSubSequence |
PrefixedSubSequence.repeatOf(char prefix,
int count,
BasedSequence baseSeq) |
static PrefixedSubSequence |
PrefixedSubSequence.repeatOf(CharSequence prefix,
int count,
BasedSequence baseSeq) |
BasedSequence |
BasedSequence.spliceAtEnd(BasedSequence other)
Splice the given sequence to the end of this one and return a BasedSequence of the result.
|
BasedSequence |
BasedSequenceImpl.spliceAtEnd(BasedSequence other) |
void |
ReplacedTextMapper.startNestedReplacement(BasedSequence sequence) |
BasedSequence |
BasedSequence.suffixOf(BasedSequence other)
Get the suffix part of this from other, start/end offset based containment, not textual
|
BasedSequence |
BasedSequenceImpl.suffixOf(BasedSequence other) |
| Modifier and Type | Method and Description |
|---|---|
static BasedSequence |
SegmentedSequence.of(List<BasedSequence> segments)
removed empty and return BasedSequence.NULL when no segments which is the logical result however,
this will mean empty node text in FencedCodeBlock will now return NULL sequence instead of an empty
sequence from the document.
|
| Constructor and Description |
|---|
ReplacedTextMapper(BasedSequence original) |
SegmentedSequenceBuilder(BasedSequence base) |
SegmentedSequenceBuilder(BasedSequence base,
int initialCapacity) |
Copyright © 2019. All rights reserved.