Uses of Class org.jaxen.JaxenException

Uses in package org.jaxen.javabean

Constructors which throw type org.jaxen.JaxenException

JavaBeanXPath.JavaBeanXPath(String xpathExpr)
Construct given an XPath expression string.

Methods which throw type org.jaxen.JaxenException

Object
JavaBeanXPath.evaluate(Object node)
Evaluate this XPath against a given context.

Uses in package org.jaxen.dom4j

Constructors which throw type org.jaxen.JaxenException

Dom4jXPath.Dom4jXPath(String xpathExpr)
Construct given an XPath expression string.

Uses in package org.jaxen.xom

Constructors which throw type org.jaxen.JaxenException

XOMXPath.XOMXPath(String xpathExpr)
Construct given an XPath expression string.

Uses in package org.jaxen.dom

Constructors which throw type org.jaxen.JaxenException

DOMXPath.DOMXPath(String xpathExpr)
Create a new DOMXPath from an XPath expression string.

Uses in package org.jaxen

Classes derived from org.jaxen.JaxenException

class
Thrown if an exception occurs during the evaluation of a function.
class
Thrown when a function-call or variable-reference, or any other lookup based on namespace and local name, couldn't be resolved.
class
Indicates attempt to evaluate an XPath axis that is unsupported by the current object-model.
class
Indicates an error during parsing of an XPath expression.

Constructors which throw type org.jaxen.JaxenException

BaseXPath.BaseXPath(String xpathExpr)
Construct given an XPath expression string.
BaseXPath.BaseXPath(String xpathExpr, Navigator navigator)
Construct given an XPath expression string.

Methods which throw type org.jaxen.JaxenException

void
BaseXPath.addNamespace(String prefix, String uri)
Add a namespace prefix-to-URI mapping for this XPath expression.
void
XPath.addNamespace(String prefix, String uri)
Add a namespace prefix-to-URI mapping for this XPath expression.
boolean
Retrieve a boolean-value interpretation of this XPath expression when evaluated against a given context.
boolean
XPath.booleanValueOf(Object context)
Retrieve the boolean value of the first node in document order returned by this XPath expression when evaluated in the given context.
void
Receive notification of the end of an absolute location path expression.
void
Receive notification of the end of an additive ('+' or '-') expression.
void
JaxenHandler.endAndExpr(boolean create)
Receive notification of the end of an 'and' expression.
void
Receive notification of the end of an equality ('=' or '!=') expression.
void
Receive notification of the end of a filter expression.
void
void
Receive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.
void
JaxenHandler.endOrExpr(boolean create)
Receive notification of the end of an 'or' expression.
void
Receive notification of the end of a path expression.
void
Receive notification of the end of a predicate.
void
Receive notification of the start of a relational ('<', '>', '<=', or '>=') expression.
void
Receive notification of the end of a relative location path expression.
void
JaxenHandler.endUnaryExpr(int operator)
Receive notification of the end of a unary ('+' or '-') expression.
void
JaxenHandler.endUnionExpr(boolean create)
Receive notification of the end of a union ('|') expression.
void
Receive notification of the end of an XPath expression parse.
Object
BaseXPath.evaluate(Object context)
Evaluate this XPath against a given context.
Object
XPath.evaluate(Object context)
Evaluate this XPath against the given context.
void
JaxenHandler.literal(String literal)
Receive notification of a literal expression.
void
JaxenHandler.number(double number)
Receive notification of a number expression.
void
JaxenHandler.number(int number)
Receive notification of a number expression.
Number
BaseXPath.numberValueOf(Object node)
Retrieve a number-value interpretation of this XPath expression when evaluated against a given context.
Number
XPath.numberValueOf(Object context)
Retrieve the number-value of the first node in document order returned by this XPath expression when evaluated in the given context.
List
BaseXPath.selectNodes(Object node)
Select all nodes that are selected by this XPath expression.
List
XPath.selectNodes(Object context)
Select all nodes that are selectable by this XPath expression.
List
Select all nodes that match this XPath expression on the given Context object.
Object
Select only the first node selected by this XPath expression.
Object
XPath.selectSingleNode(Object context)
Return the first node in document order that is selected by this XPath expression.
Object
Return only the first node that is selected by this XPath expression.
void
Receive notification of the start of an absolute location path expression.
void
Receive notification of the start of a node() step.
void
Receive notification of the start of a comment() step.
void
JaxenHandler.startFunction(String prefix, String functionName)
Receive notification of a function call.
void
JaxenHandler.startNameStep(int axis, String prefix, String localName)
Receive notification of the start of a name step.
void
Receive notification of the start of a processing-instruction(...) step.
void
Receive notification of the start of a relative location path expression.
void
Receive notification of the start of a text() step.
String
BaseXPath.stringValueOf(Object node)
Retrieves the string-value of the result of evaluating this XPath expression when evaluated against the specified context.
String
XPath.stringValueOf(Object context)
Retrieve a string-value interpretation of this XPath expression when evaluated against the given context.
String
BaseXPath.valueOf(Object node)
Returns the XPath string-value of the argument node.
String
XPath.valueOf(Object context)
Retrieve a string-value interpretation of this XPath expression when evaluated against the given context.
void
JaxenHandler.variableReference(String prefix, String variableName)
Receive notification of a variable-reference expression.

Uses in package org.jaxen.pattern

Methods which throw type org.jaxen.JaxenException

LocationPathPattern
Pattern
LocationPathPattern
LocationPathPattern
void
Receive notification of the end of an absolute location path expression.
void
void
Receive notification of the end of a relative location path expression.
void
PatternHandler.endUnionExpr(boolean create)
Receive notification of the end of a union ('|') expression.
boolean
LocationPathPattern.matches(Object node, Context context)
boolean
Pattern.matches(Object node, Context context)
boolean
UnionPattern.matches(Object node, Context context)
Pattern
PatternParser.parse(String text)
void
Allows the NodeTest to be set

Uses in package org.jaxen.jdom

Constructors which throw type org.jaxen.JaxenException

JDOMXPath.JDOMXPath(String xpathExpr)
Construct given an XPath expression string.

Uses in package org.jaxen.expr

Methods which throw type org.jaxen.JaxenException

boolean
PredicateSet.anyMatchingNode(List contextNodeSet, ContextSupport support)
List
PredicateSet.applyPredicate(Predicate predicate, List nodes2Filter, ContextSupport support)
boolean
Returns true if the current filter matches at least one of the context nodes
boolean
Evaluates the filter expression on the current context and returns true if at least one node matches.
List
List
LocationPath
LocationPath
BinaryExpr
DefaultXPathFactory.createAdditiveExpr(Expr lhs, Expr rhs, int additiveOperator)
BinaryExpr
XPathFactory.createAdditiveExpr(Expr lhs, Expr rhs, int additiveOperator)
Step
Step
BinaryExpr
BinaryExpr
Step
Step
BinaryExpr
DefaultXPathFactory.createEqualityExpr(Expr lhs, Expr rhs, int equalityOperator)
BinaryExpr
XPathFactory.createEqualityExpr(Expr lhs, Expr rhs, int equalityOperator)
FilterExpr
FilterExpr
FunctionCallExpr
DefaultXPathFactory.createFunctionCallExpr(String prefix, String functionName)
FunctionCallExpr
XPathFactory.createFunctionCallExpr(String prefix, String functionName)
LiteralExpr
LiteralExpr
BinaryExpr
DefaultXPathFactory.createMultiplicativeExpr(Expr lhs, Expr rhs, int multiplicativeOperator)
BinaryExpr
XPathFactory.createMultiplicativeExpr(Expr lhs, Expr rhs, int multiplicativeOperator)
Step
DefaultXPathFactory.createNameStep(int axis, String prefix, String localName)
Step
XPathFactory.createNameStep(int axis, String prefix, String localName)
NumberExpr
NumberExpr
NumberExpr
NumberExpr
BinaryExpr
BinaryExpr
PathExpr
PathExpr
Predicate
Predicate
PredicateSet
PredicateSet
Step
Step
BinaryExpr
DefaultXPathFactory.createRelationalExpr(Expr lhs, Expr rhs, int relationalOperator)
BinaryExpr
XPathFactory.createRelationalExpr(Expr lhs, Expr rhs, int relationalOperator)
LocationPath
LocationPath
Step
Step
Expr
DefaultXPathFactory.createUnaryExpr(Expr expr, int unaryOperator)
Expr
XPathFactory.createUnaryExpr(Expr expr, int unaryOperator)
UnionExpr
UnionExpr
VariableReferenceExpr
DefaultXPathFactory.createVariableReferenceExpr(String prefix, String variable)
VariableReferenceExpr
XPathFactory.createVariableReferenceExpr(String prefix, String variableName)
XPathExpr
XPathExpr
Object
Object
Object
Object
Object
Object
Object
Object
Object
Object
List
Evaluate the context node set to find the new node set.
Object
Object
Object
Object
Object
List
Object
Object
Object
Object
List
For each node in the given context calls matches() for every node on the axis, then filters the result by each of the predicates.
boolean
PredicateSet.evaluateAsBoolean(List contextNodeSet, ContextSupport support)
List
List
PredicateSet.evaluatePredicates(List contextNodeSet, ContextSupport support)
boolean
DefaultNameStep.matches(Object node, ContextSupport contextSupport)
Checks whether the node matches this step.
boolean
Step.matches(Object node, ContextSupport contextSupport)
Performs the node-test part of evaluating the step for the given node (which must be on the axis).