|
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.
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.
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. |
void |
fixupVariables(java.util.Vector vars,
int globalsSize)
No arguments to process, so this does nothing. |
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 |
asIterator,
asNode,
assertion,
bool,
error,
execute,
execute,
executeCharsToContentHandler,
isNodesetExpr,
isStableNumber,
num,
setSourceLocator,
warn,
xstr |
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 void fixupVariables(java.util.Vector vars, int globalsSize)
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://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |