Modifier and Type | Method and Description |
---|---|
abstract Element |
Tag.getElement()
Returns the element that is started or ended by this tag.
|
Element |
StartTag.getElement()
Returns the element that is started by this start tag.
|
Element |
FormControl.getElement()
Returns the element representing this form control in the source document.
|
Element |
EndTag.getElement()
Returns the element that is ended by this end tag.
|
Element |
Source.getElementById(java.lang.String id)
Returns the
Element with the specified id attribute value. |
Element |
Source.getEnclosingElement(int pos)
|
Element |
Source.getEnclosingElement(int pos,
java.lang.String name)
|
Element |
Segment.getFirstElement()
|
Element |
Segment.getFirstElement(java.lang.String name)
|
Element |
Segment.getFirstElement(java.lang.String attributeName,
java.util.regex.Pattern valueRegexPattern)
|
Element |
Segment.getFirstElement(java.lang.String attributeName,
java.lang.String value,
boolean valueCaseSensitive)
|
Element |
Segment.getFirstElementByClass(java.lang.String className)
|
Element |
Source.getNextElement(int pos)
Returns the
Element beginning at or immediately following the specified position in the source document. |
Element |
Source.getNextElement(int pos,
java.lang.String name)
|
Element |
Source.getNextElement(int pos,
java.lang.String attributeName,
java.util.regex.Pattern valueRegexPattern)
Returns the
Element with the specified attribute name and value pattern beginning at or immediately following the specified position in the source document. |
Element |
Source.getNextElement(int pos,
java.lang.String attributeName,
java.lang.String value,
boolean valueCaseSensitive)
Returns the
Element with the specified attribute name/value pair beginning at or immediately following the specified position in the source document. |
Element |
Source.getNextElementByClass(int pos,
java.lang.String className)
Returns the
Element with the specified class beginning at or immediately following the specified position in the source document. |
Element |
Element.getParentElement()
Returns the parent of this element in the document element hierarchy.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Element> |
Source.getAllElements()
Returns a list of all elements in this source document.
|
java.util.List<Element> |
Segment.getAllElements()
|
java.util.List<Element> |
Segment.getAllElements(StartTagType startTagType)
|
java.util.List<Element> |
Segment.getAllElements(java.lang.String name)
|
java.util.List<Element> |
Segment.getAllElements(java.lang.String attributeName,
java.util.regex.Pattern valueRegexPattern)
|
java.util.List<Element> |
Segment.getAllElements(java.lang.String attributeName,
java.lang.String value,
boolean valueCaseSensitive)
|
java.util.List<Element> |
Segment.getAllElementsByClass(java.lang.String className)
|
java.util.List<Element> |
Source.getChildElements()
Returns a list of the top-level elements in the document element hierarchy.
|
java.util.List<Element> |
Segment.getChildElements()
Returns a list of the immediate children of this segment in the document element hierarchy.
|
java.util.List<Element> |
Element.getChildElements()
Returns a list of the immediate children of this element in the document element hierarchy.
|
java.util.Iterator<Element> |
FormControl.getOptionElementIterator()
|