|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.xml.xpath.NodeSetExpr com.novell.xml.xpath.AbsoluteLocationPath
Class representing an XPath AbsoluteExpressionPath. An AbsoluteExpressionPath is composed of a root selector '/' and an optional RelativeLocationPath.
RelativeLocationPath
Constructor Summary | |
AbsoluteLocationPath()
Construct an AbsoluteLocationPath with no RelativeLocationPath (i.e., just '/') |
|
AbsoluteLocationPath(RelativeLocationPath rlp)
Construct an AbsoluteLocationPath with a RelativeLocationPath (i.e., '/' followed by a RelativeLocationPath) |
Method Summary | |
ExpressionValue |
evaluate(Node contextNode,
ExpressionContext context)
Evaluate this RelativeLocationPath with respect to a context node and expression context. |
void |
registerForReset(XPathResetRegistrar registrar)
Register this expression or any subexpression that implements XPathResetCache with an object that wants to call resetCache() |
String |
toString()
Provide a readable description for debugging. |
Methods inherited from class com.novell.xml.xpath.NodeSetExpr |
dump, getResultType, isConstant |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.novell.xml.xpath.Expression |
dump, getResultType, isConstant |
Constructor Detail |
public AbsoluteLocationPath()
public AbsoluteLocationPath(RelativeLocationPath rlp)
rlp
- The RelativeLocationPathMethod Detail |
public String toString()
public ExpressionValue evaluate(Node contextNode, ExpressionContext context) throws XPathEvaluationException
evaluate
in interface Expression
contextNode
- The context nodecontext
- The expression context
XPathEvaluationException
public void registerForReset(XPathResetRegistrar registrar)
resetCache()
registerForReset
in interface Expression
registerForReset
in class NodeSetExpr
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |