Package net.sf.saxon.xqj
Class SaxonXQForwardSequence
java.lang.Object
net.sf.saxon.xqj.SaxonXQForwardSequence
- All Implemented Interfaces:
XQItemAccessor,XQResultSequence,XQSequence
The class is a Saxon implementation of the XQJ interface XQResultSequence. This
implementation is used to represent a sequence that can only be read in a forwards direction.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSaxonXQForwardSequence(SequenceIterator iterator, SaxonXQConnection connection) -
Method Summary
Modifier and TypeMethodDescriptionbooleanabsolute(int itempos) voidvoidvoidvoidclose()intcount()booleanfirst()booleanbytegetByte()(package private) SequenceIteratordoublefloatgetFloat()intgetInt()getItem()longgetLong()getNode()getObject(XQCommonHandler handler) intgetSequenceAsString(Properties props) shortgetShort()booleaninstanceOf(XQItemType type) booleanbooleanbooleanisClosed()booleanisFirst()booleanisLast()booleanisOnItem()booleanbooleanlast()booleannext()booleanprevious()booleanrelative(int itempos) voidwriteItem(OutputStream os, Properties props) voidwriteItem(Writer ow, Properties props) voidwriteItemToSAX(ContentHandler saxHandler) voidwriteSequence(OutputStream os, Properties props) voidwriteSequence(Writer ow, Properties props) voidwriteSequenceToSAX(ContentHandler saxHandler)
-
Field Details
-
position
int position -
closed
boolean closed
-
-
Constructor Details
-
SaxonXQForwardSequence
-
-
Method Details
-
getCleanIterator
- Throws:
XPathException
-
clearWarnings
public void clearWarnings()- Specified by:
clearWarningsin interfaceXQResultSequence
-
getConnection
- Specified by:
getConnectionin interfaceXQResultSequence
-
getWarnings
- Specified by:
getWarningsin interfaceXQResultSequence
-
getAtomicValue
- Specified by:
getAtomicValuein interfaceXQItemAccessor- Throws:
XQException
-
getBoolean
- Specified by:
getBooleanin interfaceXQItemAccessor- Throws:
XQException
-
getByte
- Specified by:
getBytein interfaceXQItemAccessor- Throws:
XQException
-
getDouble
- Specified by:
getDoublein interfaceXQItemAccessor- Throws:
XQException
-
getFloat
- Specified by:
getFloatin interfaceXQItemAccessor- Throws:
XQException
-
getInt
- Specified by:
getIntin interfaceXQItemAccessor- Throws:
XQException
-
getItemAsStream
- Specified by:
getItemAsStreamin interfaceXQItemAccessor- Throws:
XQException
-
getItemAsString
- Specified by:
getItemAsStringin interfaceXQItemAccessor- Throws:
XQException
-
getItemType
- Specified by:
getItemTypein interfaceXQItemAccessor- Throws:
XQException
-
getLong
- Specified by:
getLongin interfaceXQItemAccessor- Throws:
XQException
-
getNode
- Specified by:
getNodein interfaceXQItemAccessor- Throws:
XQException
-
getNodeUri
- Specified by:
getNodeUriin interfaceXQItemAccessor- Throws:
XQException
-
getObject
- Specified by:
getObjectin interfaceXQItemAccessor- Throws:
XQException
-
getObject
- Specified by:
getObjectin interfaceXQItemAccessor- Throws:
XQException
-
getShort
- Specified by:
getShortin interfaceXQItemAccessor- Throws:
XQException
-
instanceOf
- Specified by:
instanceOfin interfaceXQItemAccessor- Throws:
XQException
-
writeItem
- Specified by:
writeItemin interfaceXQItemAccessor- Throws:
XQException
-
writeItem
- Specified by:
writeItemin interfaceXQItemAccessor- Throws:
XQException
-
writeItemToSAX
- Specified by:
writeItemToSAXin interfaceXQItemAccessor- Throws:
XQException
-
absolute
- Specified by:
absolutein interfaceXQSequence- Throws:
XQException
-
afterLast
- Specified by:
afterLastin interfaceXQSequence- Throws:
XQException
-
beforeFirst
- Specified by:
beforeFirstin interfaceXQSequence- Throws:
XQException
-
close
- Specified by:
closein interfaceXQSequence- Throws:
XQException
-
count
- Specified by:
countin interfaceXQSequence- Throws:
XQException
-
first
- Specified by:
firstin interfaceXQSequence- Throws:
XQException
-
getItem
- Specified by:
getItemin interfaceXQSequence- Throws:
XQException
-
getPosition
- Specified by:
getPositionin interfaceXQSequence- Throws:
XQException
-
getSequenceAsStream
- Specified by:
getSequenceAsStreamin interfaceXQSequence- Throws:
XQException
-
getSequenceAsString
- Specified by:
getSequenceAsStringin interfaceXQSequence- Throws:
XQException
-
isAfterLast
- Specified by:
isAfterLastin interfaceXQSequence- Throws:
XQException
-
isBeforeFirst
- Specified by:
isBeforeFirstin interfaceXQSequence- Throws:
XQException
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceXQSequence
-
isFirst
- Specified by:
isFirstin interfaceXQSequence- Throws:
XQException
-
isLast
- Specified by:
isLastin interfaceXQSequence- Throws:
XQException
-
isOnItem
- Specified by:
isOnItemin interfaceXQSequence- Throws:
XQException
-
isScrollable
- Specified by:
isScrollablein interfaceXQSequence- Throws:
XQException
-
last
- Specified by:
lastin interfaceXQSequence- Throws:
XQException
-
next
- Specified by:
nextin interfaceXQSequence- Throws:
XQException
-
previous
- Specified by:
previousin interfaceXQSequence- Throws:
XQException
-
relative
- Specified by:
relativein interfaceXQSequence- Throws:
XQException
-
writeSequence
- Specified by:
writeSequencein interfaceXQSequence- Throws:
XQException
-
writeSequence
- Specified by:
writeSequencein interfaceXQSequence- Throws:
XQException
-
writeSequenceToSAX
- Specified by:
writeSequenceToSAXin interfaceXQSequence- Throws:
XQException
-