|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.xpath.Expression
|
+--org.apache.xpath.patterns.NodeTest
|
+--org.apache.xpath.patterns.StepPattern
|
+--org.apache.xpath.patterns.FunctionPattern
**For advanced use only** Match pattern step that contains a function.
| Fields inherited from class org.apache.xpath.patterns.NodeTest |
SCORE_NODETEST,
SCORE_NONE,
SCORE_NSWILD,
SCORE_OTHER,
SCORE_QNAME,
SHOW_BYFUNCTION,
SHOW_NAMESPACE,
SUPPORTS_PRE_STRIPPING,
WILD |
| Constructor Summary | |
FunctionPattern(Expression expr)
Construct a FunctionPattern from a expression. |
|
| Method Summary | |
XObject |
execute(XPathContext xctxt)
Test a node to see if it matches the given node test. |
| Methods inherited from class org.apache.xpath.patterns.StepPattern |
calcTargetString,
canTraverseOutsideSubtree,
executeRelativePathPattern,
executeStep,
getLastPos,
getMatchScore,
getPredicate,
getPredicateCount,
getProximityPosition,
getTargetString,
setPredicates,
setRelativePathPattern |
| Methods inherited from class org.apache.xpath.patterns.NodeTest |
debugWhatToShow,
execute,
getDefaultScore,
getLocalName,
getNamespace,
getWhatToShow,
initNodeTest,
initNodeTest |
| Methods inherited from class org.apache.xpath.Expression |
assert,
error,
setSourceLocator,
warn |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public FunctionPattern(Expression expr)
a - should be a expression.| Method Detail |
public XObject execute(XPathContext xctxt)
throws TransformerException
xctxt - XPath runtime context.NodeTest.SCORE_NODETEST,
NodeTest.SCORE_NONE,
NodeTest.SCORE_NSWILD,
NodeTest.SCORE_QNAME, or
NodeTest.SCORE_OTHER.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||