Package com.saxonica.xqj
Class SaxonXQSequenceType
- java.lang.Object
-
- com.saxonica.xqj.SaxonXQSequenceType
-
- All Implemented Interfaces:
XQSequenceType
public class SaxonXQSequenceType extends java.lang.Object implements XQSequenceType
Saxon implementation of the XQJ SequenceType interface
-
-
Field Summary
-
Fields inherited from interface javax.xml.xquery.XQSequenceType
OCC_EMPTY, OCC_EXACTLY_ONE, OCC_ONE_OR_MORE, OCC_ZERO_OR_MORE, OCC_ZERO_OR_ONE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetItemOccurrence()Returns the occurrence indicator for the sequence type.XQItemTypegetItemType()Returns the type of the item in the sequence type.java.lang.StringgetString()java.lang.StringtoString()Returns a human-readable implementation-defined string representation of the sequence type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.xml.xquery.XQSequenceType
equals, hashCode
-
-
-
-
Method Detail
-
getItemOccurrence
public int getItemOccurrence()
Description copied from interface:XQSequenceTypeReturns the occurrence indicator for the sequence type. One of:Occurrence indicators Description Value Zero or one OCC_ZERO_OR_ONEExactly one OCC_EXACTLY_ONEZero or more OCC_ZERO_OR_MOREOne or more OCC_ONE_OR_MOREEmpty OCC_EMPTY- Specified by:
getItemOccurrencein interfaceXQSequenceType- Returns:
intindicating the occurrence indicator
-
getItemType
public XQItemType getItemType()
Description copied from interface:XQSequenceTypeReturns the type of the item in the sequence type.- Specified by:
getItemTypein interfaceXQSequenceType- Returns:
XQItemTyperepresenting the item type in the sequence.nullis returned in case of an empty sequence.
-
getString
public java.lang.String getString()
-
toString
public java.lang.String toString()
Description copied from interface:XQSequenceTypeReturns a human-readable implementation-defined string representation of the sequence type.- Specified by:
toStringin interfaceXQSequenceType- Overrides:
toStringin classjava.lang.Object- Returns:
- a
Stringrepresentation of the sequence type
-
-