| Modifier and Type | Field and Description |
|---|---|
| public static final String |
| Modifier and Type | Method and Description |
|---|---|
| public String | getElementName(Object element)
returns the name of the element so that it may match against the selectors |
| public Object | getParentElement(Object element)
returns the parent element of an element, or null if this was the root element |
| public int | Returns: -1 in case of error, 0 indexed position otherwiseReturns the index of the position of the submitted element among its element node siblings. |
| public Object | |
| public boolean | isFirstChildElement(Object element)
returns true if this element is the first child element of its parent |
| public boolean | isLastChildElement(Object element)
returns true if this element is the last child element of its parent |
| public boolean | matchesElement(Object element, String
The namespace to match, may be null to signify any
namespace. Use namespaceURI, String NO_NAMESPACE to signify that name
should only match when there is no namespace defined on element.The name to match, may not be null name)Returns |
| NO_NAMESPACE | back to summary |
|---|---|
| public static final String NO_NAMESPACE | |
| getElementName | back to summary |
|---|---|
| public String getElementName(Object element) returns the name of the element so that it may match against the selectors | |
| getParentElement | back to summary |
|---|---|
| public Object getParentElement(Object element) returns the parent element of an element, or null if this was the root element | |
| getPositionOfElement | back to summary |
|---|---|
| public int getPositionOfElement(Object element) Returns the index of the position of the submitted element among its element node siblings.
| |
| getPreviousSiblingElement | back to summary |
|---|---|
| public Object getPreviousSiblingElement(Object node) The previous sibling element, or null if none exists | |
| isFirstChildElement | back to summary |
|---|---|
| public boolean isFirstChildElement(Object element) returns true if this element is the first child element of its parent | |
| isLastChildElement | back to summary |
|---|---|
| public boolean isLastChildElement(Object element) returns true if this element is the last child element of its parent | |
| matchesElement | back to summary |
|---|---|
| public boolean matchesElement(Object element, String namespaceURI, String name) Returns
| |