com.xml_project.morganaxproc.core
Class XPathInXProcSequence

java.lang.Object
  extended by com.xml_project.morganaxproc.core.XPathInXProcSequence

public class XPathInXProcSequence
extends Object

Instances of this class represent a ready to evaluate XPath selector sequence


Method Summary
 boolean getBoolean(int index)
           Returns the effective boolean value for the document with the given index (0 .. n-1).
 String getExpression()
           Returns the expression represented in this XPath sequence
 String getValue(int index)
           Returns the string value for the document with the given index (0 .. n-1).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExpression

public String getExpression()

Returns the expression represented in this XPath sequence

Returns:
the expression as string.

getBoolean

public boolean getBoolean(int index)
                   throws XPathException

Returns the effective boolean value for the document with the given index (0 .. n-1).

Parameters:
index - the index of the document.
Returns:
The effective boolean value.
Throws:
XPathException - if an error occurred.

getValue

public String getValue(int index)
                throws XPathException

Returns the string value for the document with the given index (0 .. n-1).

Parameters:
index - the index of the document.
Returns:
the string value for this document.
Throws:
XPathException - if an error occurred.