Modifier and Type | Method and Description |
---|---|
Source |
Segment.getSource()
Returns the
Source document containing this segment. |
Modifier and Type | Method and Description |
---|---|
boolean |
StartTagType.atEndOfAttributes(Source source,
int pos,
boolean isClosingSlashIgnored)
Indicates whether the specified source document position is at the end of a tag's attributes.
|
protected EndTag |
EndTagType.constructEndTag(Source source,
int begin,
int end,
java.lang.String name)
Internal method for the construction of an
EndTag object of this type. |
protected StartTag |
StartTagType.constructStartTag(Source source,
int begin,
int end,
java.lang.String name,
Attributes attributes)
Internal method for the construction of a
StartTag object if this type. |
protected abstract Tag |
TagType.constructTagAt(Source source,
int pos)
Constructs a tag of this type at the specified position in the specified source document if it matches all of the required features.
|
protected Tag |
StartTagTypeGenericImplementation.constructTagAt(Source source,
int pos)
Constructs a tag of this type at the specified position in the specified source document if it matches all of the required features.
|
protected Tag |
EndTagTypeGenericImplementation.constructTagAt(Source source,
int pos)
Constructs a tag of this type at the specified position in the specified source document if it matches all of the required features.
|
protected int |
StartTagTypeGenericImplementation.getEnd(Source source,
int pos)
Returns the end of a tag of this type, starting from the specified position in the specified source document.
|
protected boolean |
TagType.isValidPosition(Source source,
int pos,
int[] fullSequentialParseData)
Indicates whether a tag of this type is valid in the specified position of the specified source document.
|
protected Attributes |
StartTagType.parseAttributes(Source source,
int startTagBegin,
java.lang.String tagName)
Internal method for the parsing of
Attributes . |
protected boolean |
TagType.tagEncloses(Source source,
int pos)
Indicates whether a tag of this type encloses the specified position of the specified source document.
|
Constructor and Description |
---|
OutputDocument(Source source)
Constructs a new output document based on the specified source document.
|
Segment(Source source,
int begin,
int end)
Constructs a new
Segment within the specified source document with the specified begin and end character positions. |