Modifier and Type | Method and Description |
---|---|
protected StartTag |
StartTagType.constructStartTag(Source source,
int begin,
int end,
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(String name)
|
StartTag |
Segment.getFirstStartTag(String attributeName,
Pattern valueRegexPattern)
|
StartTag |
Segment.getFirstStartTag(String attributeName,
String value,
boolean valueCaseSensitive)
|
StartTag |
Segment.getFirstStartTagByClass(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,
String name)
|
StartTag |
Source.getNextStartTag(int pos,
String attributeName,
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,
String name,
StartTagType startTagType)
|
StartTag |
Source.getNextStartTag(int pos,
String attributeName,
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,
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,
String name)
|
StartTag |
Source.getPreviousStartTag(int pos,
String name,
StartTagType startTagType)
|
StartTag |
Element.getStartTag()
Returns the start tag of the element.
|
Modifier and Type | Method and Description |
---|---|
List<StartTag> |
Source.getAllStartTags()
Returns a list of all start tags in this source document.
|
List<StartTag> |
Segment.getAllStartTags()
|
List<StartTag> |
Segment.getAllStartTags(StartTagType startTagType)
|
List<StartTag> |
Segment.getAllStartTags(String name)
|
List<StartTag> |
Segment.getAllStartTags(String attributeName,
Pattern valueRegexPattern)
|
List<StartTag> |
Segment.getAllStartTags(String attributeName,
String value,
boolean valueCaseSensitive)
|
List<StartTag> |
Segment.getAllStartTagsByClass(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)
|
String |
Renderer.renderHyperlinkURL(StartTag startTag)
Renders the hyperlink URL from the specified
StartTag . |