org.apache.xpath.patterns
Class UnionPattern

java.lang.Object
  |
  +--org.apache.xpath.Expression
        |
        +--org.apache.xpath.patterns.UnionPattern

public class UnionPattern
extends Expression


Constructor Summary
UnionPattern()
           
 
Method Summary
 XObject execute(XPathContext xctxt)
          Test a node to see if it matches the given node test.
 StepPattern[] getPatterns()
           
 void setPatterns(StepPattern[] patterns)
           
 
Methods inherited from class org.apache.xpath.Expression
assert, error, warn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionPattern

public UnionPattern()
Method Detail

setPatterns

public void setPatterns(StepPattern[] patterns)

getPatterns

public StepPattern[] getPatterns()

execute

public XObject execute(XPathContext xctxt)
                throws SAXException
Test a node to see if it matches the given node test.
Parameters:
xpath - The xpath that is executing.
context - The current source tree context node.
opPos - The current position in the xpath.m_opMap array.
len - The length of the argument.
len - The type of the step.
Overrides:
execute in class Expression


Copyright © 2000 Apache XML Project. All Rights Reserved.