net.sf.saxon.xqj
Class SaxonXQSequenceType
java.lang.Object
net.sf.saxon.xqj.SaxonXQSequenceType
- All Implemented Interfaces:
- XQSequenceType
public class SaxonXQSequenceType
- extends Object
- implements XQSequenceType
getItemOccurrence
public int getItemOccurrence()
- Description copied from interface:
XQSequenceType
- Returns the occurrence indicator for the sequence type.
One of:
Description |
Value |
Zero or one |
OCC_ZERO_OR_ONE |
Exactly one |
OCC_EXACTLY_ONE |
Zero or more |
OCC_ZERO_OR_MORE |
One or more |
OCC_ONE_OR_MORE |
Empty |
OCC_EMPTY |
- Specified by:
getItemOccurrence
in interface XQSequenceType
- Returns:
int
indicating the occurrence indicator
getItemType
public XQItemType getItemType()
- Description copied from interface:
XQSequenceType
- Returns the type of the item in the sequence type.
- Specified by:
getItemType
in interface XQSequenceType
- Returns:
XQItemType
representing the
item type in the sequence. null
is returned in case of an empty sequence.
getString
public String getString()
toString
public String toString()
- Description copied from interface:
XQSequenceType
- Returns a human-readable implementation-defined string representation of
the sequence type.
- Specified by:
toString
in interface XQSequenceType
- Overrides:
toString
in class Object
- Returns:
- a
String
representation of the sequence type
Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.