net.sf.saxon.javax.xml.xquery
Interface XQSequence

All Superinterfaces:
XQItemAccessor
All Known Subinterfaces:
XQResultSequence
All Known Implementing Classes:
SaxonXQForwardSequence, SaxonXQSequence

public interface XQSequence
extends XQItemAccessor

XQJ interfaces reconstructed from version 0.5 documentation


Method Summary
 boolean absolute(int itempos)
           
 void afterLast()
           
 void beforeFirst()
           
 void close()
           
 int count()
           
 boolean first()
           
 XQItem getItem()
           
 int getPosition()
           
 javax.xml.stream.XMLStreamReader getSequenceAsStream()
           
 java.lang.String getSequenceAsString(java.util.Properties props)
           
 boolean isAfterLast()
           
 boolean isBeforeFirst()
           
 boolean isClosed()
           
 boolean isFirst()
           
 boolean isLast()
           
 boolean isOnItem()
           
 boolean isScrollable()
           
 boolean last()
           
 boolean next()
           
 boolean previous()
           
 boolean relative(int itempos)
           
 void writeSequence(java.io.OutputStream os, java.util.Properties props)
           
 void writeSequence(java.io.Writer ow, java.util.Properties props)
           
 void writeSequenceToSAX(org.xml.sax.ContentHandler saxhdlr)
           
 
Methods inherited from interface net.sf.saxon.javax.xml.xquery.XQItemAccessor
getAtomicValue, getBoolean, getByte, getDouble, getFloat, getInt, getItemAsStream, getItemAsString, getItemType, getLong, getNode, getNodeUri, getObject, getObject, getShort, instanceOf, writeItem, writeItem, writeItemToSAX
 

Method Detail

absolute

public boolean absolute(int itempos)
                 throws XQException
Throws:
XQException

afterLast

public void afterLast()
               throws XQException
Throws:
XQException

beforeFirst

public void beforeFirst()
                 throws XQException
Throws:
XQException

close

public void close()
           throws XQException
Throws:
XQException

count

public int count()
          throws XQException
Throws:
XQException

first

public boolean first()
              throws XQException
Throws:
XQException

getItem

public XQItem getItem()
               throws XQException
Throws:
XQException

getPosition

public int getPosition()
                throws XQException
Throws:
XQException

getSequenceAsStream

public javax.xml.stream.XMLStreamReader getSequenceAsStream()
                                                     throws XQException
Throws:
XQException

getSequenceAsString

public java.lang.String getSequenceAsString(java.util.Properties props)
                                     throws XQException
Throws:
XQException

isAfterLast

public boolean isAfterLast()
                    throws XQException
Throws:
XQException

isBeforeFirst

public boolean isBeforeFirst()
                      throws XQException
Throws:
XQException

isClosed

public boolean isClosed()

isFirst

public boolean isFirst()
                throws XQException
Throws:
XQException

isLast

public boolean isLast()
               throws XQException
Throws:
XQException

isOnItem

public boolean isOnItem()
                 throws XQException
Throws:
XQException

isScrollable

public boolean isScrollable()
                     throws XQException
Throws:
XQException

last

public boolean last()
             throws XQException
Throws:
XQException

next

public boolean next()
             throws XQException
Throws:
XQException

previous

public boolean previous()
                 throws XQException
Throws:
XQException

relative

public boolean relative(int itempos)
                 throws XQException
Throws:
XQException

writeSequence

public void writeSequence(java.io.OutputStream os,
                          java.util.Properties props)
                   throws XQException
Throws:
XQException

writeSequence

public void writeSequence(java.io.Writer ow,
                          java.util.Properties props)
                   throws XQException
Throws:
XQException

writeSequenceToSAX

public void writeSequenceToSAX(org.xml.sax.ContentHandler saxhdlr)
                        throws XQException
Throws:
XQException