org.apache.ws.jaxme.xs.types
Class XSNMTokens

java.lang.Object
  extended byorg.apache.ws.jaxme.xs.types.AbstractSimpleType
      extended byorg.apache.ws.jaxme.xs.types.AbstractListType
          extended byorg.apache.ws.jaxme.xs.types.XSNMTokens
All Implemented Interfaces:
XSListType, XSObject, XSOpenAttrs, XSSimpleType, XSType

public class XSNMTokens
extends AbstractListType
implements XSListType

Author:
Jochen Wiedmann

Constructor Summary
protected XSNMTokens()
           
 
Method Summary
static XSType getInstance()
           
 XSType getItemType()
          Returns the item type (which is, of course, a simple type).
 XSListType getListType()
          Returns the list type details.
 java.lang.Long getMinLength()
          Returns the value of the "maxLength" facet or null, if the facet is not set.
 XsQName getName()
          If the type is global: Returns the types name.
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractListType
getLength, getMaxLength, getRestrictedType, isList, isRestriction
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractSimpleType
getAnnotations, getAtomicType, getComplexType, getEnumerations, getLocator, getOpenAttributes, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, getXSSchema, isAtomic, isGlobal, isSimple, isTopLevelObject, isUnion, setGlobal, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSListType
getLength, getMaxLength
 

Constructor Detail

XSNMTokens

protected XSNMTokens()
Method Detail

getName

public XsQName getName()
Description copied from interface: XSType

If the type is global: Returns the types name. Otherwise returns null.

Specified by:
getName in interface XSType

getItemType

public XSType getItemType()
Description copied from interface: XSListType

Returns the item type (which is, of course, a simple type).

Specified by:
getItemType in interface XSListType

getMinLength

public java.lang.Long getMinLength()
Description copied from interface: XSListType

Returns the value of the "maxLength" facet or null, if the facet is not set.

Specified by:
getMinLength in interface XSListType
Overrides:
getMinLength in class AbstractListType

getInstance

public static XSType getInstance()

getListType

public XSListType getListType()
Description copied from interface: XSSimpleType

Returns the list type details.

Specified by:
getListType in interface XSSimpleType
Overrides:
getListType in class AbstractSimpleType