Modifier and Type | Method and Description |
---|---|
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. |
StartTag |
Segment.getFirstStartTag()
|
StartTag |
Segment.getFirstStartTag(StartTagType startTagType)
|
StartTag |
Segment.getFirstStartTag(java.lang.String name)
|
StartTag |
Segment.getFirstStartTag(java.lang.String attributeName,
java.util.regex.Pattern valueRegexPattern)
|
StartTag |
Segment.getFirstStartTag(java.lang.String attributeName,
java.lang.String value,
boolean valueCaseSensitive)
|
StartTag |
Segment.getFirstStartTagByClass(java.lang.String className)
|
StartTag |
Source.getNextStartTag(int pos)
Returns the
StartTag beginning at or immediately following the specified position in the source document. |
StartTag |
Source.getNextStartTag(int pos,
StartTagType startTagType)
|
StartTag |
Source.getNextStartTag(int pos,
java.lang.String name)
|
StartTag |
Source.getNextStartTag(int pos,
java.lang.String attributeName,
java.util.regex.Pattern valueRegexPattern)
Returns the
StartTag with the specified attribute name and value pattern beginning at or immediately following the specified position in the source document. |
StartTag |
Source.getNextStartTag(int pos,
java.lang.String name,
StartTagType startTagType)
|
StartTag |
Source.getNextStartTag(int pos,
java.lang.String attributeName,
java.lang.String value,
boolean valueCaseSensitive)
Returns the
StartTag with the specified attribute name/value pair beginning at or immediately following the specified position in the source document. |
StartTag |
Source.getNextStartTagByClass(int pos,
java.lang.String className)
Returns the
StartTag with the specified class beginning at or immediately following the specified position in the source document. |
StartTag |
Source.getPreviousStartTag(int pos)
|
StartTag |
Source.getPreviousStartTag(int pos,
StartTagType startTagType)
|
StartTag |
Source.getPreviousStartTag(int pos,
java.lang.String name)
|
StartTag |
Source.getPreviousStartTag(int pos,
java.lang.String name,
StartTagType startTagType)
|
StartTag |
Element.getStartTag()
Returns the start tag of the element.
|
StartTag |
Attribute.getStartTag()
Returns the start tag to which this attribute belongs.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<StartTag> |
Source.getAllStartTags()
Returns a list of all start tags in this source document.
|
java.util.List<StartTag> |
Segment.getAllStartTags()
|
java.util.List<StartTag> |
Segment.getAllStartTags(StartTagType startTagType)
|
java.util.List<StartTag> |
Segment.getAllStartTags(java.lang.String name)
|
java.util.List<StartTag> |
Segment.getAllStartTags(java.lang.String attributeName,
java.util.regex.Pattern valueRegexPattern)
|
java.util.List<StartTag> |
Segment.getAllStartTags(java.lang.String attributeName,
java.lang.String value,
boolean valueCaseSensitive)
|
java.util.List<StartTag> |
Segment.getAllStartTagsByClass(java.lang.String className)
|
Modifier and Type | Method and Description |
---|---|
boolean |
TextExtractor.excludeElement(StartTag startTag)
Indicates whether the text inside the
Element of the specified start tag should be excluded from the output. |
boolean |
TextExtractor.includeAttribute(StartTag startTag,
Attribute attribute)
|
java.lang.String |
Renderer.renderAlternateText(StartTag startTag)
Renders the alternate text of the specified start tag.
|
java.lang.String |
Renderer.renderHyperlinkURL(StartTag startTag)
Renders the hyperlink URL from the specified
StartTag . |