weblogic.apache.xpath.patterns
Class FunctionPattern
java.lang.Object
|
+--weblogic.apache.xpath.Expression
|
+--weblogic.apache.xpath.patterns.NodeTest
|
+--weblogic.apache.xpath.patterns.StepPattern
|
+--weblogic.apache.xpath.patterns.FunctionPattern
- public class FunctionPattern
- extends StepPattern
Match pattern step that contains a function.
This class is based on an implementation from the Apache XML
Project. In future releases the XML parser, XSLT processor, and
associated classes will likely be updated to be based on a later
version of the Apache implementations. Since Apache does not guarantee
backwards compatibility between versions of their software, we cannot
guarantee backwards compatibility of any of the classes contained in
the weblogic.apache package or sub-packages.
- See Also:
- Serialized Form
Methods inherited from class weblogic.apache.xpath.patterns.StepPattern |
calcTargetString,
canTraverseOutsideSubtree,
executeRelativePathPattern,
executeStep,
getLastPos,
getMatchScore,
getPredicate,
getPredicateCount,
getProximityPosition,
getTargetString,
setPredicates,
setRelativePathPattern |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
FunctionPattern
public FunctionPattern(Expression expr)
- Construct a FunctionPattern from a
expression.
- Parameters:
a
- should be a expression.
calcScore
protected final void calcScore()
- Static calc of match score.
- Overrides:
- calcScore in class StepPattern
execute
public XObject execute(XPathContext xctxt)
throws javax.xml.transform.TransformerException
- Test a node to see if it matches the given node test.
- Parameters:
xctxt
- XPath runtime context.- Returns:
NodeTest.SCORE_NODETEST
,
NodeTest.SCORE_NONE
,
NodeTest.SCORE_NSWILD
,
NodeTest.SCORE_QNAME
, or
NodeTest.SCORE_OTHER
.- Throws:
- javax.xml.transform.TransformerException -
- Overrides:
- execute in class StepPattern
WebLogic classes and methods that do not appear in this reference are not public and are not supported.