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

java.lang.Object
  extended by org.apache.ws.jaxme.xs.types.AbstractBuiltinType
      extended by org.apache.ws.jaxme.xs.types.AbstractSimpleType
          extended by org.apache.ws.jaxme.xs.types.AbstractListType
              extended by org.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.
 boolean isBuiltin()
          Returns whether the type is a builtin type of XML Schema.
 
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
getAtomicType, getComplexType, getEnumerations, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isAtomic, isSimple, isTopLevelObject, isUnion
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractBuiltinType
getAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, 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

isBuiltin

public boolean isBuiltin()
Description copied from interface: XSType

Returns whether the type is a builtin type of XML Schema.

Specified by:
isBuiltin in interface XSType