com.xml_project.morganaxproc.core
Class XPathInXProcSequence

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

public class XPathInXProcSequence
extends java.lang.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).
 java.lang.String getExpression()
           Returns the expression represented in this XPath sequence
 java.lang.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 java.lang.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 java.lang.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.