Package | Description |
---|---|
org.apache.commons.jxpath.ri.axes |
Implementations of EvalContext used for different XPath axes (child::, parent:: etc).
|
org.apache.commons.jxpath.ri.compiler |
XPath parse tree.
|
org.apache.commons.jxpath.ri.model |
The "model" package defines APIs that are implemented
for every object model to be supported by JXPath.
|
org.apache.commons.jxpath.ri.model.beans |
Implementation of "model" APIs for JavaBeans, Dynamic Property Objects,
collections and null.
|
org.apache.commons.jxpath.ri.model.container |
Implementation of "model" APIs for Containers.
|
org.apache.commons.jxpath.ri.model.dom |
Implementation of "model" APIs for W3C DOM.
|
org.apache.commons.jxpath.ri.model.jdom |
Implementation of "model" APIs for JDOM (see jdom.org).
|
Modifier and Type | Field | Description |
---|---|---|
private static NodeTest |
DescendantContext.ELEMENT_NODE_TEST |
|
private NodeTest |
AncestorContext.nodeTest |
|
private NodeTest |
AttributeContext.nodeTest |
|
private NodeTest |
ChildContext.nodeTest |
|
private NodeTest |
DescendantContext.nodeTest |
|
private NodeTest |
NamespaceContext.nodeTest |
|
private NodeTest |
ParentContext.nodeTest |
|
private NodeTest |
PrecedingOrFollowingContext.nodeTest |
|
private NodeTest |
SelfContext.nodeTest |
Constructor | Description |
---|---|
AncestorContext(EvalContext parentContext,
boolean includeSelf,
NodeTest nodeTest) |
Create a new AncestorContext.
|
AttributeContext(EvalContext parentContext,
NodeTest nodeTest) |
Create a new AttributeContext.
|
ChildContext(EvalContext parentContext,
NodeTest nodeTest,
boolean startFromParentLocation,
boolean reverse) |
Create a new ChildContext.
|
DescendantContext(EvalContext parentContext,
boolean includeSelf,
NodeTest nodeTest) |
Create a new DescendantContext.
|
NamespaceContext(EvalContext parentContext,
NodeTest nodeTest) |
|
ParentContext(EvalContext parentContext,
NodeTest nodeTest) |
Create a new ParentContext.
|
PrecedingOrFollowingContext(EvalContext parentContext,
NodeTest nodeTest,
boolean reverse) |
Create a new PrecedingOrFollowingContext.
|
SelfContext(EvalContext parentContext,
NodeTest nodeTest) |
Create a new SelfContext.
|
Modifier and Type | Class | Description |
---|---|---|
class |
NodeNameTest |
|
class |
NodeTypeTest |
|
class |
ProcessingInstructionTest |
Modifier and Type | Field | Description |
---|---|---|
private NodeTest |
Step.nodeTest |
Modifier and Type | Method | Description |
---|---|---|
NodeTest |
Step.getNodeTest() |
Get the step test.
|
Modifier and Type | Method | Description |
---|---|---|
protected EvalContext |
Path.createContextForStep(EvalContext context,
int axis,
NodeTest nodeTest) |
Different axes are serviced by different contexts.
|
Constructor | Description |
---|---|
Step(int axis,
NodeTest nodeTest,
Expression[] predicates) |
Create a new Step.
|
Modifier and Type | Method | Description |
---|---|---|
NodeIterator |
NodePointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
Returns a NodeIterator that iterates over all children or all children
that match the given NodeTest, starting with the specified one.
|
NodeIterator |
VariablePointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
|
boolean |
NodePointer.testNode(NodeTest test) |
Checks if this Pointer matches the supplied NodeTest.
|
boolean |
VariablePointer.testNode(NodeTest nodeTest) |
Modifier and Type | Field | Description |
---|---|---|
private NodeTest |
CollectionChildNodeIterator.test |
Modifier and Type | Method | Description |
---|---|---|
NodeIterator |
CollectionPointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
|
NodeIterator |
PropertyOwnerPointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
|
boolean |
CollectionPointer.testNode(NodeTest test) |
|
boolean |
LangAttributePointer.testNode(NodeTest test) |
Constructor | Description |
---|---|
CollectionChildNodeIterator(CollectionPointer pointer,
NodeTest test,
boolean reverse,
NodePointer startWith) |
Create a new CollectionChildNodeIterator.
|
Modifier and Type | Method | Description |
---|---|---|
NodeIterator |
ContainerPointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
|
boolean |
ContainerPointer.testNode(NodeTest nodeTest) |
Modifier and Type | Field | Description |
---|---|---|
private NodeTest |
DOMNodeIterator.nodeTest |
Modifier and Type | Method | Description |
---|---|---|
NodeIterator |
DOMNodePointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
|
boolean |
DOMAttributePointer.testNode(NodeTest nodeTest) |
|
boolean |
DOMNodePointer.testNode(NodeTest test) |
|
static boolean |
DOMNodePointer.testNode(org.w3c.dom.Node node,
NodeTest test) |
Test a Node.
|
boolean |
NamespacePointer.testNode(NodeTest nodeTest) |
Constructor | Description |
---|---|
DOMNodeIterator(NodePointer parent,
NodeTest nodeTest,
boolean reverse,
NodePointer startWith) |
Create a new DOMNodeIterator.
|
Modifier and Type | Field | Description |
---|---|---|
private NodeTest |
JDOMNodeIterator.nodeTest |
Modifier and Type | Method | Description |
---|---|---|
NodeIterator |
JDOMNodePointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
|
boolean |
JDOMNodePointer.testNode(NodeTest test) |
|
static boolean |
JDOMNodePointer.testNode(NodePointer pointer,
java.lang.Object node,
NodeTest test) |
Execute test against node on behalf of pointer.
|
Constructor | Description |
---|---|
JDOMNodeIterator(NodePointer parent,
NodeTest nodeTest,
boolean reverse,
NodePointer startWith) |
Create a new JDOMNodeIterator.
|