|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XQItemType
Field Summary | |
---|---|
static int |
XQITEMTYPE_ATOMIC
Type of the node is an atomic type. |
static int |
XQITEMTYPE_ATTRIBUTE
Type of the item is an attribute. |
static int |
XQITEMTYPE_DOCUMENT
Type of the item is a document. |
static int |
XQITEMTYPE_ELEMENT
Type of the item is an element. |
static int |
XQITEMTYPE_ITEM
Type of the node is an item. |
static int |
XQITEMTYPE_NODE
Type of the item is a node. |
Fields inherited from interface javax.xml.xquery.XQSequenceType |
---|
OCC_EXACTLY_ONE, OCC_ONE_OR_MORE, OCC_ZERO_OR_MORE, OCC_ZERO_OR_ONE |
Method Summary | |
---|---|
boolean |
exactlyMatches(XQItemType type)
Returns true if the given type matches this type object exactly, otherwise returns false. |
int |
getBaseItemType()
Returns the base type of the item. |
int |
getItemOccurence(XQSequenceType type)
Returns the occurence indicator for the item type. |
java.lang.String |
getString()
Returns a string representation of the item type. |
boolean |
isOfType(XQItemType type)
Returns true if the given type exactly matches or is a supertype of this type, otherwise returns false. |
Methods inherited from interface javax.xml.xquery.XQSequenceType |
---|
exactlyMatches, getItemType, isOfType |
Field Detail |
---|
static final int XQITEMTYPE_ATOMIC
static final int XQITEMTYPE_ATTRIBUTE
static final int XQITEMTYPE_DOCUMENT
static final int XQITEMTYPE_ELEMENT
static final int XQITEMTYPE_ITEM
static final int XQITEMTYPE_NODE
Method Detail |
---|
boolean exactlyMatches(XQItemType type)
int getBaseItemType()
int getItemOccurence(XQSequenceType type)
getItemOccurence
in interface XQSequenceType
java.lang.String getString() throws XQException
getString
in interface XQSequenceType
XQException
boolean isOfType(XQItemType type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |