|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xpath.Expression | +--weblogic.apache.xpath.patterns.UnionPattern
This class represents a union pattern, which can have multiple individual StepPattern patterns.
Fields inherited from class weblogic.apache.xpath.Expression |
m_slocator |
Constructor Summary | |
UnionPattern()
|
Method Summary | |
boolean |
canTraverseOutsideSubtree()
Tell if this expression or it's subexpressions can traverse outside the current subtree. |
XObject |
execute(XPathContext xctxt)
Test a node to see if it matches any of the patterns in the union. |
StepPattern[] |
getPatterns()
Get the contained step patterns to be tested. |
void |
setPatterns(StepPattern[] patterns)
Set the contained step patterns to be tested. |
Methods inherited from class weblogic.apache.xpath.Expression |
assert,
error,
setSourceLocator,
warn |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public UnionPattern()
Method Detail |
public boolean canTraverseOutsideSubtree()
public void setPatterns(StepPattern[] patterns)
patterns
- the contained step patterns to be tested.public StepPattern[] getPatterns()
public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
xctxt
- XPath runtime context.NodeTest.SCORE_NODETEST
,
NodeTest.SCORE_NONE
,
NodeTest.SCORE_NSWILD
,
NodeTest.SCORE_QNAME
, or
NodeTest.SCORE_OTHER
.
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |