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).
|
Constructor and 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 and Description |
---|---|
class |
NodeNameTest |
class |
NodeTypeTest |
class |
ProcessingInstructionTest |
Modifier and Type | Method and Description |
---|---|
NodeTest |
Step.getNodeTest()
Get the step test.
|
Modifier and Type | Method and Description |
---|---|
protected EvalContext |
Path.createContextForStep(EvalContext context,
int axis,
NodeTest nodeTest)
Different axes are serviced by different contexts.
|
Constructor and Description |
---|
Step(int axis,
NodeTest nodeTest,
Expression[] predicates)
Create a new Step.
|
Modifier and Type | Method and Description |
---|---|
NodeIterator |
VariablePointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
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.
|
boolean |
VariablePointer.testNode(NodeTest nodeTest) |
boolean |
NodePointer.testNode(NodeTest test)
Checks if this Pointer matches the supplied NodeTest.
|
Modifier and Type | Method and Description |
---|---|
NodeIterator |
PropertyOwnerPointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
NodeIterator |
CollectionPointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
boolean |
LangAttributePointer.testNode(NodeTest test) |
boolean |
CollectionPointer.testNode(NodeTest test) |
Constructor and Description |
---|
CollectionChildNodeIterator(CollectionPointer pointer,
NodeTest test,
boolean reverse,
NodePointer startWith)
Create a new CollectionChildNodeIterator.
|
Modifier and Type | Method and Description |
---|---|
NodeIterator |
ContainerPointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
boolean |
ContainerPointer.testNode(NodeTest nodeTest) |
Modifier and Type | Method and Description |
---|---|
NodeIterator |
DOMNodePointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
static boolean |
DOMNodePointer.testNode(org.w3c.dom.Node node,
NodeTest test)
Test a Node.
|
boolean |
NamespacePointer.testNode(NodeTest nodeTest) |
boolean |
DOMNodePointer.testNode(NodeTest test) |
boolean |
DOMAttributePointer.testNode(NodeTest nodeTest) |
Constructor and Description |
---|
DOMNodeIterator(NodePointer parent,
NodeTest nodeTest,
boolean reverse,
NodePointer startWith)
Create a new DOMNodeIterator.
|
Modifier and Type | Method and Description |
---|---|
NodeIterator |
JDOMNodePointer.childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
static boolean |
JDOMNodePointer.testNode(NodePointer pointer,
Object node,
NodeTest test)
Execute test against node on behalf of pointer.
|
boolean |
JDOMNodePointer.testNode(NodeTest test) |
Constructor and Description |
---|
JDOMNodeIterator(NodePointer parent,
NodeTest nodeTest,
boolean reverse,
NodePointer startWith)
Create a new JDOMNodeIterator.
|
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.