de.fraunhofer.ipsi.ipsixq.api.impl
Class XQItemTypeImpl

java.lang.Object
  extended by de.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractItemType
      extended by de.fraunhofer.ipsi.ipsixq.api.impl.XQItemTypeImpl
All Implemented Interfaces:
XQItemType, XQSequenceType

public class XQItemTypeImpl
extends XQAbstractItemType

Author:
Michael Stark

Field Summary
 
Fields inherited from interface javax.xml.xquery.XQItemType
XQITEMTYPE_ATOMIC, XQITEMTYPE_ATTRIBUTE, XQITEMTYPE_DOCUMENT, XQITEMTYPE_ELEMENT, XQITEMTYPE_ITEM, XQITEMTYPE_NODE
 
Fields inherited from interface javax.xml.xquery.XQSequenceType
OCC_EXACTLY_ONE, OCC_ONE_OR_MORE, OCC_ZERO_OR_MORE, OCC_ZERO_OR_ONE
 
Constructor Summary
XQItemTypeImpl(int baseType, javax.xml.namespace.QName typeName)
           
 
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.
 
Methods inherited from class de.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractItemType
exactlyMatches, getItemOccurence, getItemType, getString, isOfType, isOfType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XQItemTypeImpl

public XQItemTypeImpl(int baseType,
                      javax.xml.namespace.QName typeName)
Method Detail

getBaseItemType

public int getBaseItemType()
Description copied from interface: XQItemType
Returns the base type of the item.

Specified by:
getBaseItemType in interface XQItemType
Overrides:
getBaseItemType in class XQAbstractItemType

exactlyMatches

public boolean exactlyMatches(XQItemType type)
Description copied from interface: XQItemType
Returns true if the given type matches this type object exactly, otherwise returns false.

Specified by:
exactlyMatches in interface XQItemType
Overrides:
exactlyMatches in class XQAbstractItemType