Package | Description |
---|---|
org.jaxen |
This package defines the core Jaxen API to the XPath engine.
|
org.jaxen.dom |
Navigation for W3C DOM trees.
|
org.jaxen.javabean |
Navigation for JavaBeans.
|
org.jaxen.jdom |
Navigation for JDOM trees.
|
org.jaxen.pattern |
Defines XSLT Pattern objects.
|
org.jaxen.saxpath |
Classes related to the event-based parsing and handling
of XPath expressions.
|
org.jaxen.saxpath.base |
jaxen
implementation of the SAXPath functionality.
|
org.jaxen.saxpath.helpers |
Helper classes for instantiating XPathReaders.
|
Modifier and Type | Class and Description |
---|---|
class |
FunctionCallException
Thrown if an exception occurs during the evaluation of a function.
|
class |
JaxenException
Generic Jaxen exception.
|
class |
UnresolvableException
Thrown when a function-call or variable-reference, or any other lookup
based on namespace and local name, couldn't be resolved.
|
class |
UnsupportedAxisException
Indicates attempt to evaluate an XPath axis that
is unsupported by the current object-model.
|
Modifier and Type | Method and Description |
---|---|
XPath |
Navigator.parseXPath(java.lang.String xpath)
Returns a parsed form of the given XPath string, which will be suitable
for queries on documents that use the same navigator as this one.
|
Modifier and Type | Method and Description |
---|---|
XPath |
DocumentNavigator.parseXPath(java.lang.String xpath)
Returns a parsed form of the given XPath string, which will be suitable
for queries on DOM documents.
|
Modifier and Type | Method and Description |
---|---|
XPath |
DocumentNavigator.parseXPath(java.lang.String xpath) |
Modifier and Type | Method and Description |
---|---|
XPath |
DocumentNavigator.parseXPath(java.lang.String xpath)
Returns a parsed form of the given XPath string, which will be suitable
for queries on JDOM documents.
|
Modifier and Type | Method and Description |
---|---|
static Pattern |
PatternParser.parse(java.lang.String text) |
Modifier and Type | Class and Description |
---|---|
class |
XPathSyntaxException
Represents a syntax error in an XPath expression.
|
Modifier and Type | Method and Description |
---|---|
void |
XPathHandler.endAbsoluteLocationPath()
Receive notification of the end of an absolute location path expression.
|
void |
XPathHandler.endAdditiveExpr(int additiveOperator)
Receive notification of the end of an additive ('+' or '-') expression.
|
void |
XPathHandler.endAllNodeStep()
Receive notification of the end of a node() step.
|
void |
XPathHandler.endAndExpr(boolean create)
Receive notification of the end of an 'and' expression.
|
void |
XPathHandler.endCommentNodeStep()
Receive notification of the end of a comment() step.
|
void |
XPathHandler.endEqualityExpr(int equalityOperator)
Receive notification of the end of an equality ('=' or '!=') expression.
|
void |
XPathHandler.endFilterExpr()
Receive notification of the end of a filter expression.
|
void |
XPathHandler.endFunction()
Receive notification of the end of a function call
|
void |
XPathHandler.endMultiplicativeExpr(int multiplicativeOperator)
Receive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.
|
void |
XPathHandler.endNameStep()
Receive notification of the end of a NameStep
|
void |
XPathHandler.endOrExpr(boolean create)
Receive notification of the end of an 'or' expression.
|
void |
XPathHandler.endPathExpr()
Receive notification of the end of a path expression.
|
void |
XPathHandler.endPredicate()
Receive notification of the end of a predicate.
|
void |
XPathHandler.endProcessingInstructionNodeStep()
Receive notification of the end of a processing-instruction(...) step.
|
void |
XPathHandler.endRelationalExpr(int relationalOperator)
Receive notification of the start of a relational ('<', '>', '<=', or '>=') expression.
|
void |
XPathHandler.endRelativeLocationPath()
Receive notification of the end of a relative location path expression.
|
void |
XPathHandler.endTextNodeStep()
Receive notification of the end of a text() step.
|
void |
XPathHandler.endUnaryExpr(int unaryOperator)
Receive notification of the end of a unary ('+' or '-') expression.
|
void |
XPathHandler.endUnionExpr(boolean create)
Receive notification of the end of a union ('|') expression.
|
void |
XPathHandler.endXPath()
Receive notification of the end of an XPath expression parse.
|
void |
XPathHandler.literal(java.lang.String literal)
Receive notification of a literal expression.
|
void |
XPathHandler.number(double number)
Receive notification of a number expression.
|
void |
XPathHandler.number(int number)
Receive notification of a number expression.
|
void |
XPathReader.parse(java.lang.String xpath)
Parse an XPath expression,
and send event callbacks to an
XPathHandler . |
void |
XPathHandler.startAbsoluteLocationPath()
Receive notification of the start of an absolute location path expression.
|
void |
XPathHandler.startAdditiveExpr()
Receive notification of the start of an additive ('+' or '-') expression.
|
void |
XPathHandler.startAllNodeStep(int axis)
Receive notification of the start of a node() step.
|
void |
XPathHandler.startAndExpr()
Receive notification of the start of an 'and' expression.
|
void |
XPathHandler.startCommentNodeStep(int axis)
Receive notification of the start of a comment() step.
|
void |
XPathHandler.startEqualityExpr()
Receive notification of the start of an equality ('=' or '!=') expression.
|
void |
XPathHandler.startFilterExpr()
Receive notification of the start of a filter expression.
|
void |
XPathHandler.startFunction(java.lang.String prefix,
java.lang.String functionName)
Receive notification of a function call.
|
void |
XPathHandler.startMultiplicativeExpr()
Receive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.
|
void |
XPathHandler.startNameStep(int axis,
java.lang.String prefix,
java.lang.String localName)
Receive notification of the start of a name step.
|
void |
XPathHandler.startOrExpr()
Receive notification of the start of an 'or' expression.
|
void |
XPathHandler.startPathExpr()
Receive notification of the start of a path expression.
|
void |
XPathHandler.startPredicate()
Receive notification of the start of a predicate.
|
void |
XPathHandler.startProcessingInstructionNodeStep(int axis,
java.lang.String name)
Receive notification of the start of a processing-instruction(...) step.
|
void |
XPathHandler.startRelationalExpr()
Receive notification of the start of a relational ('<', '>', '<=', or '>=') expression.
|
void |
XPathHandler.startRelativeLocationPath()
Receive notification of the start of a relative location path expression.
|
void |
XPathHandler.startTextNodeStep(int axis)
Receive notification of the start of a text() step.
|
void |
XPathHandler.startUnaryExpr()
Receive notification of the start of a unary ('+' or '-') expression.
|
void |
XPathHandler.startUnionExpr()
Receive notification of the start of a union ('|') expression.
|
void |
XPathHandler.startXPath()
Receive notification of the start of an XPath expression parse.
|
void |
XPathHandler.variableReference(java.lang.String prefix,
java.lang.String variableName)
Receive notification of a variable-reference expression.
|
Modifier and Type | Method and Description |
---|---|
private void |
XPathReader.abbrStep() |
private void |
XPathReader.absoluteLocationPath() |
private void |
XPathReader.additiveExpr() |
private void |
XPathReader.andExpr() |
private void |
XPathReader.arguments() |
private int |
XPathReader.axisSpecifier() |
private void |
XPathReader.equalityExpr() |
private void |
XPathReader.expr() |
private void |
XPathReader.filterExpr() |
private void |
XPathReader.functionCall() |
private void |
XPathReader.literal() |
(package private) void |
XPathReader.locationPath(boolean isAbsolute) |
private void |
XPathReader.multiplicativeExpr() |
private void |
XPathReader.nameTest(int axis) |
private void |
XPathReader.nodeTest(int axis) |
private void |
XPathReader.nodeTypeTest(int axis) |
private void |
XPathReader.orExpr() |
void |
XPathReader.parse(java.lang.String xpath) |
private void |
XPathReader.pathExpr() |
(package private) void |
XPathReader.predicate() |
private void |
XPathReader.predicateExpr() |
private void |
XPathReader.predicates() |
private void |
XPathReader.relationalExpr() |
private void |
XPathReader.relativeLocationPath() |
(package private) void |
XPathReader.step() |
private void |
XPathReader.steps() |
private void |
XPathReader.throwInvalidAxis(java.lang.String invalidAxis) |
private void |
XPathReader.unaryExpr() |
private void |
XPathReader.unionExpr() |
private void |
XPathReader.variableReference() |
Modifier and Type | Method and Description |
---|---|
static XPathReader |
XPathReaderFactory.createReader()
Create an
XPathReader using the value of
the org.saxpath.driver system property. |
static XPathReader |
XPathReaderFactory.createReader(java.lang.String className)
Create an
XPathReader using the passed
in class name. |
void |
DefaultXPathHandler.endAbsoluteLocationPath() |
void |
DefaultXPathHandler.endAdditiveExpr(int operator) |
void |
DefaultXPathHandler.endAllNodeStep() |
void |
DefaultXPathHandler.endAndExpr(boolean create) |
void |
DefaultXPathHandler.endCommentNodeStep() |
void |
DefaultXPathHandler.endEqualityExpr(int operator) |
void |
DefaultXPathHandler.endFilterExpr() |
void |
DefaultXPathHandler.endFunction() |
void |
DefaultXPathHandler.endMultiplicativeExpr(int operator) |
void |
DefaultXPathHandler.endNameStep() |
void |
DefaultXPathHandler.endOrExpr(boolean create) |
void |
DefaultXPathHandler.endPathExpr() |
void |
DefaultXPathHandler.endPredicate() |
void |
DefaultXPathHandler.endProcessingInstructionNodeStep() |
void |
DefaultXPathHandler.endRelationalExpr(int operator) |
void |
DefaultXPathHandler.endRelativeLocationPath() |
void |
DefaultXPathHandler.endTextNodeStep() |
void |
DefaultXPathHandler.endUnaryExpr(int operator) |
void |
DefaultXPathHandler.endUnionExpr(boolean create) |
void |
DefaultXPathHandler.endXPath() |
void |
DefaultXPathHandler.literal(java.lang.String literal) |
void |
DefaultXPathHandler.number(double number) |
void |
DefaultXPathHandler.number(int number) |
void |
DefaultXPathHandler.startAbsoluteLocationPath() |
void |
DefaultXPathHandler.startAdditiveExpr() |
void |
DefaultXPathHandler.startAllNodeStep(int axis) |
void |
DefaultXPathHandler.startAndExpr() |
void |
DefaultXPathHandler.startCommentNodeStep(int axis) |
void |
DefaultXPathHandler.startEqualityExpr() |
void |
DefaultXPathHandler.startFilterExpr() |
void |
DefaultXPathHandler.startFunction(java.lang.String prefix,
java.lang.String functionName) |
void |
DefaultXPathHandler.startMultiplicativeExpr() |
void |
DefaultXPathHandler.startNameStep(int axis,
java.lang.String prefix,
java.lang.String localName) |
void |
DefaultXPathHandler.startOrExpr() |
void |
DefaultXPathHandler.startPathExpr() |
void |
DefaultXPathHandler.startPredicate() |
void |
DefaultXPathHandler.startProcessingInstructionNodeStep(int axis,
java.lang.String name) |
void |
DefaultXPathHandler.startRelationalExpr() |
void |
DefaultXPathHandler.startRelativeLocationPath() |
void |
DefaultXPathHandler.startTextNodeStep(int axis) |
void |
DefaultXPathHandler.startUnaryExpr() |
void |
DefaultXPathHandler.startUnionExpr() |
void |
DefaultXPathHandler.startXPath() |
void |
DefaultXPathHandler.variableReference(java.lang.String prefix,
java.lang.String variableName) |