|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ExprEnvironment | |
---|---|
com.caucho.xpath | Finding and selecting XML nodes using XSL patterns. |
com.caucho.xpath.expr | |
com.caucho.xpath.functions | |
com.caucho.xpath.pattern | |
com.caucho.xsl | The XSLT transformation package. |
com.caucho.xsl.fun |
Uses of ExprEnvironment in com.caucho.xpath |
---|
Classes in com.caucho.xpath that implement ExprEnvironment | |
---|---|
class |
Env
Global and local variable environment. |
Methods in com.caucho.xpath that return ExprEnvironment | |
---|---|
ExprEnvironment |
Env.getExprEnv()
|
ExprEnvironment |
Env.setExprEnv(ExprEnvironment exprEnv)
Sets the selection context |
Methods in com.caucho.xpath with parameters of type ExprEnvironment | |
---|---|
abstract java.lang.Object |
XPathFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
abstract boolean |
Expr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the boolean value of the node. |
NodeIterator |
Expr.evalNodeSet(org.w3c.dom.Node node,
ExprEnvironment env)
Returns an iterator of matching nodes |
abstract double |
Expr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a number. |
abstract java.lang.Object |
Expr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the object value of the node. |
void |
Expr.evalString(CharBuffer cb,
org.w3c.dom.Node node,
ExprEnvironment env)
Fills a char buffer with the evaluated string results. |
abstract java.lang.String |
Expr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the string value of the node. |
Var |
Expr.evalVar(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates to a variable. |
org.w3c.dom.Node |
Pattern.find(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node matching the pattern. |
boolean |
Pattern.isMatch(org.w3c.dom.Node node,
ExprEnvironment env)
Test if the node matches the pattern. |
NodeIterator |
Pattern.select(org.w3c.dom.Node node,
ExprEnvironment env)
Selects all nodes matching the pattern. |
ExprEnvironment |
Env.setExprEnv(ExprEnvironment exprEnv)
Sets the selection context |
Uses of ExprEnvironment in com.caucho.xpath.expr |
---|
Methods in com.caucho.xpath.expr with parameters of type ExprEnvironment | |
---|---|
boolean |
AbstractNumberExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a boolean. |
boolean |
AbstractStringExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a boolean, i.e. |
boolean |
BooleanExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a boolean. |
boolean |
FunExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
|
boolean |
IdExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a boolean |
boolean |
NewJavaExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a boolean, i.e. |
boolean |
NodeSetExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Returns true if there are any patterns matching the pattern. |
boolean |
NumericExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a boolean. |
boolean |
ObjectExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a boolean. |
boolean |
ObjectJavaExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a boolean, i.e. |
boolean |
StaticJavaExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a boolean, i.e. |
boolean |
StringExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a boolean, i.e. |
boolean |
VarExpr.evalBoolean(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the value of the variable as a boolean. |
NodeIterator |
NodeSetExpr.evalNodeSet(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate a node-set object, returning an iterator of the node set. |
NodeIterator |
ObjectExpr.evalNodeSet(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a node set. |
NodeIterator |
VarExpr.evalNodeSet(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the value of the variable as a node set. |
abstract double |
AbstractNumberExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a number. |
double |
AbstractStringExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a double, i.e. |
double |
BooleanExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a number. |
double |
FunExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
|
double |
IdExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a number |
double |
NewJavaExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a double, i.e. |
double |
NodeSetExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the value of the expression as a number. |
double |
NumericExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a number. |
double |
ObjectExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as number. |
double |
ObjectJavaExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a double, i.e. |
double |
StaticJavaExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a double, i.e. |
double |
StringExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as a double, i.e. |
double |
VarExpr.evalNumber(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the value of the variable as a double. |
java.lang.Object |
AbstractNumberExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an object. |
java.lang.Object |
AbstractStringExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as an object, i.e. |
java.lang.Object |
BooleanExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a object. |
java.lang.Object |
FunExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
|
java.lang.Object |
IdExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
The string value of the id expression is just the list of nodes. |
java.lang.Object |
NewJavaExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as an object, i.e. |
java.lang.Object |
NodeSetExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate a node-set object, returning an ArrayList of the node set. |
java.lang.Object |
NumericExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an object. |
java.lang.Object |
ObjectExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an object. |
java.lang.Object |
ObjectJavaExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as an object, i.e. |
java.lang.Object |
StaticJavaExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as an object, i.e. |
java.lang.Object |
StringExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluate the expression as an object, i.e. |
java.lang.Object |
VarExpr.evalObject(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the value of the variable as an object |
void |
VarExpr.evalString(CharBuffer cb,
org.w3c.dom.Node node,
ExprEnvironment env)
Returns the value of the variable as a string |
java.lang.String |
AbstractNumberExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a string. |
abstract java.lang.String |
AbstractStringExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an string. |
java.lang.String |
BooleanExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a string. |
java.lang.String |
FunExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
|
java.lang.String |
Functions.BaseURI.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an string. |
java.lang.String |
IdExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
The string value of the id expression is just the text value of the first node. |
java.lang.String |
NewJavaExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an string. |
java.lang.String |
NodeSetExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the value of the node set expression as a string. |
java.lang.String |
NumericExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as a string. |
java.lang.String |
ObjectExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as string. |
java.lang.String |
ObjectJavaExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an string. |
java.lang.String |
StaticJavaExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an string. |
java.lang.String |
StringExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an string. |
java.lang.String |
VarExpr.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the value of the variable as a string |
Var |
AbstractNumberExpr.evalVar(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates to a variable. |
Var |
NumericExpr.evalVar(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates to a variable. |
Var |
VarExpr.evalVar(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the value of the variable as an variable |
Uses of ExprEnvironment in com.caucho.xpath.functions |
---|
Methods in com.caucho.xpath.functions with parameters of type ExprEnvironment | |
---|---|
java.lang.String |
BaseURI.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an string. |
java.lang.String |
ResolveURI.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an string. |
java.lang.String |
Trace.evalString(org.w3c.dom.Node node,
ExprEnvironment env)
Evaluates the expression as an string. |
Uses of ExprEnvironment in com.caucho.xpath.pattern |
---|
Classes in com.caucho.xpath.pattern that implement ExprEnvironment | |
---|---|
class |
AttributeIterator
Uses the axis to select new nodes. |
class |
AttributeListIterator
Uses the axis to select new nodes. |
class |
AxisIterator
Uses the axis to select new nodes. |
class |
FilterIterator
Uses the axis to select new nodes. |
class |
MergeIterator
The merge iterator. |
class |
NamespaceIterator
Selects namespace nodes. |
class |
NodeArrayListIterator
Iterates through matching nodes. |
class |
NodeIterator
Iterates through matching nodes. |
class |
NodeListIterator
Iterates through matching nodes. |
class |
SingleNodeIterator
Iterates through matching nodes. |
class |
UnionIterator
Uses the axis to select new nodes. |
class |
UniqueIterator
The unique iterator. |
Fields in com.caucho.xpath.pattern declared as ExprEnvironment | |
---|---|
protected ExprEnvironment |
NodeIterator._env
|
Methods in com.caucho.xpath.pattern with parameters of type ExprEnvironment | |
---|---|
int |
FromAny.count(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern)
|
NodeIterator |
AbstractPattern.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern)
Creates a new node iterator. |
NodeIterator |
CurrentPattern.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
FilterPattern.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
FromAttributes.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
FromExpr.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
FromNamespace.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
UnionPattern.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
org.w3c.dom.Node |
AbstractPattern.findAny(org.w3c.dom.Node node,
ExprEnvironment env)
Find any node matching the pattern. |
org.w3c.dom.Node |
AbstractPattern.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
CurrentPattern.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromAncestors.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromAny.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromAttributes.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromChildren.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromContext.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromDescendants.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromNext.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromNextSibling.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromParent.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromPrevious.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromPreviousSibling.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromRoot.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
org.w3c.dom.Node |
FromSelf.firstNode(org.w3c.dom.Node node,
ExprEnvironment env)
Returns the first node in the selection order. |
abstract boolean |
AbstractPattern.match(org.w3c.dom.Node node,
ExprEnvironment env)
The core match function test if the pattern matches the node. |
boolean |
CurrentPattern.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches the current node |
boolean |
FilterPattern.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches if the filter expression matches. |
boolean |
FromAncestors.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches if a descendant matches the parent pattern. |
boolean |
FromAny.match(org.w3c.dom.Node node,
ExprEnvironment env)
All nodes match |
boolean |
FromAttributes.match(org.w3c.dom.Node node,
ExprEnvironment env)
matches if the node is an attribute. |
boolean |
FromChildren.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches all nodes except attributes and tests the parent pattern with the parent node. |
boolean |
FromContext.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches the node context |
boolean |
FromDescendants.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches the current node if it can find a parent node matching the parent pattern. |
boolean |
FromExpr.match(org.w3c.dom.Node node,
ExprEnvironment env)
matches if the expression returns a node set and the test-node is contained in that node set. |
boolean |
FromNamespace.match(org.w3c.dom.Node node,
ExprEnvironment env)
matches if the node is a namespace node. |
boolean |
FromNext.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches if there is a previous node matching the parent pattern. |
boolean |
FromNextSibling.match(org.w3c.dom.Node node,
ExprEnvironment env)
matches if we can find a previous sibling that matches the parent. |
boolean |
FromParent.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches if a child matches the parent pattern. |
boolean |
FromPrevious.match(org.w3c.dom.Node node,
ExprEnvironment env)
matches if we can find a following node matching the parent pattern. |
boolean |
FromPreviousSibling.match(org.w3c.dom.Node node,
ExprEnvironment env)
matches if we can find a following sibling that matches the parent. |
boolean |
FromRoot.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches the owner document. |
boolean |
FromSelf.match(org.w3c.dom.Node node,
ExprEnvironment env)
The self axis always matches. |
boolean |
NSNamePattern.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches if the namespace matches and the local name matches. |
boolean |
NamespacePattern.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches if the namespace matches and the local name matches. |
boolean |
NodePattern.match(org.w3c.dom.Node node,
ExprEnvironment env)
matches if the node type matches and the node name matches. |
boolean |
NodeTypePattern.match(org.w3c.dom.Node node,
ExprEnvironment env)
Matches if the node type matches. |
boolean |
UnionPattern.match(org.w3c.dom.Node node,
ExprEnvironment env)
Match if either pattern matches. |
int |
FromAny.position(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern)
|
NodeIterator |
AbstractPattern.select(org.w3c.dom.Node node,
ExprEnvironment env)
Returns an iterator selecting nodes in document order. |
NodeIterator |
AbstractPattern.selectUnique(org.w3c.dom.Node node,
ExprEnvironment env)
Returns an iterator selecting unique nodes. |
Constructors in com.caucho.xpath.pattern with parameters of type ExprEnvironment | |
---|---|
AttributeIterator(NodeIterator parentIter,
AbstractPattern axis,
org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates the new AxisIterator. |
|
AttributeListIterator(ExprEnvironment env)
|
|
AttributeListIterator(NodeIterator parentIter,
ExprEnvironment env,
AbstractPattern match)
Creates the new AxisIterator. |
|
AxisIterator(ExprEnvironment env)
|
|
AxisIterator(NodeIterator parentIter,
AbstractPattern axis,
org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates the new AxisIterator. |
|
FilterIterator(NodeIterator parentIter,
Expr expr,
ExprEnvironment env,
org.w3c.dom.Node context)
Creates the new AxisIterator. |
|
MergeIterator(ExprEnvironment env,
NodeIterator baseIterator)
Creates a merge iterator with a given base. |
|
NamespaceIterator(ExprEnvironment env)
|
|
NamespaceIterator(org.w3c.dom.Node node,
NodeIterator parentIter,
ExprEnvironment env,
AbstractPattern match)
Creates the new NamespaceIterator. |
|
NodeArrayListIterator(ExprEnvironment env,
java.util.ArrayList<org.w3c.dom.Node> list)
|
|
NodeIterator(ExprEnvironment env)
|
|
NodeListIterator(ExprEnvironment env,
org.w3c.dom.NodeList list)
|
|
SingleNodeIterator(ExprEnvironment env,
org.w3c.dom.Node node)
|
|
UnionIterator(ExprEnvironment env,
NodeIterator leftIter,
NodeIterator rightIter)
Creates the new AxisIterator. |
|
UniqueIterator(ExprEnvironment env)
Zero arg constructor. |
|
UniqueIterator(ExprEnvironment env,
NodeIterator baseIterator)
Creates a merge iterator with a given base. |
Uses of ExprEnvironment in com.caucho.xsl |
---|
Methods in com.caucho.xsl with parameters of type ExprEnvironment | |
---|---|
java.io.OutputStream |
XslWriter.openWrite(ExprEnvironment env,
java.lang.String href)
|
Uses of ExprEnvironment in com.caucho.xsl.fun |
---|
Methods in com.caucho.xsl.fun with parameters of type ExprEnvironment | |
---|---|
java.lang.Object |
DocumentFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
ExtensionElementFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
ExtensionFunctionFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
FormatNumberFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
KeyFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
SystemPropertyFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
UnparsedEntityFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |