net.sf.saxon.javax.xml.xquery

Interface XQSequence

All Superinterfaces:
XQItemAccessor
Known Subinterfaces:
XQResultSequence
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
writeSequenceToResult(javax.xml.transform.Result result)
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, getShort, instanceOf, writeItem, writeItem, writeItemToResult, writeItemToSAX

Method Details

absolute

public boolean absolute(int itempos)
            throws XQException

afterLast

public void afterLast()
            throws XQException

beforeFirst

public void beforeFirst()
            throws XQException

close

public void close()
            throws XQException

count

public int count()
            throws XQException

first

public boolean first()
            throws XQException

getItem

public XQItem getItem()
            throws XQException

getPosition

public int getPosition()
            throws XQException

getSequenceAsStream

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

getSequenceAsString

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

isAfterLast

public boolean isAfterLast()
            throws XQException

isBeforeFirst

public boolean isBeforeFirst()
            throws XQException

isClosed

public boolean isClosed()

isFirst

public boolean isFirst()
            throws XQException

isLast

public boolean isLast()
            throws XQException

isOnItem

public boolean isOnItem()
            throws XQException

isScrollable

public boolean isScrollable()
            throws XQException

last

public boolean last()
            throws XQException

next

public boolean next()
            throws XQException

previous

public boolean previous()
            throws XQException

relative

public boolean relative(int itempos)
            throws XQException

writeSequence

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

writeSequence

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

writeSequenceToResult

public void writeSequenceToResult(javax.xml.transform.Result result)
            throws XQException

writeSequenceToSAX

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