org.oXML.xpath.step
Class RelativeLocationPath

java.lang.Object
  extended byorg.oXML.xpath.step.RelativeLocationPath
All Implemented Interfaces:
Expression, LocationPath

public class RelativeLocationPath
extends java.lang.Object
implements LocationPath


Field Summary
 
Fields inherited from interface org.oXML.xpath.Expression
OUTPUT_NS
 
Constructor Summary
RelativeLocationPath(Step step)
           
 
Method Summary
 void add(Step step)
           
 void bind(Resolver ctxt)
           
protected  NodeIterator eval(NodeIterator nit, RuntimeContext context)
           
 Node evaluate(RuntimeContext context)
           
 Step[] getSteps()
           
 void insert(Step step)
           
 java.lang.String toString()
           
 void write(org.xml.sax.ContentHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelativeLocationPath

public RelativeLocationPath(Step step)
Method Detail

bind

public void bind(Resolver ctxt)
          throws ObjectBoxException
Specified by:
bind in interface Expression
Throws:
ObjectBoxException

insert

public void insert(Step step)

add

public void add(Step step)

getSteps

public Step[] getSteps()
Specified by:
getSteps in interface LocationPath

evaluate

public Node evaluate(RuntimeContext context)
              throws XPathException
Specified by:
evaluate in interface Expression
Throws:
XPathException

eval

protected NodeIterator eval(NodeIterator nit,
                            RuntimeContext context)
                     throws XPathException
Throws:
XPathException

toString

public java.lang.String toString()

write

public void write(org.xml.sax.ContentHandler handler)
           throws org.xml.sax.SAXException
Specified by:
write in interface Expression
Throws:
org.xml.sax.SAXException