| Package | Description |
|---|---|
| ch.awae.utils.xml |
| Modifier and Type | Method and Description |
|---|---|
XPath |
XPath.addNode(java.lang.String name)
Adds a node with the given name into each of the current nodes and
returns an XPath containing all created nodes
|
XPath |
XPath.any()
Recursively returns an XPath containing all current nodes and all their
children
|
XPath |
XPath.children()
Returns an XPath containing all children of all current nodes
|
default XPath |
XPath.filterAttribute(java.lang.String name)
Returns an XPath containing all current elements that contain an argument
with the given name
|
XPath |
XPath.filterAttribute(java.lang.String name,
java.util.function.Predicate<java.lang.String> predicate)
Returns an XPath containing all current elements that have a given
attribute validated by a given predicate
|
default XPath |
XPath.filterAttribute(java.lang.String name,
java.lang.String value)
Returns an XPath containing all current elements that have a given
attribute with a given value
|
XPath |
XPath.filterName(java.util.function.Predicate<java.lang.String> predicate)
Returns an XPath containing all current elements that have a name
validated by a given predicate
|
default XPath |
XPath.index(int index)
Returns an XPath containing the node with a given index
|
XPath |
XPath.indexRange(int from,
int amount)
Returns an XPath containing a given number of nodes starting at a given
index
|
default XPath |
XPath.node(java.lang.String name)
Returns an XPath containing all children of all current nodes that match
the given name
|
XPath |
XML.query()
Provides an XPath with the document root element
|
Copyright © 2018. All Rights Reserved.