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

java.lang.Object
  extended byorg.apache.ws.jaxme.xs.types.AbstractBuiltinType
      extended byorg.apache.ws.jaxme.xs.types.AbstractSimpleType
          extended byorg.apache.ws.jaxme.xs.types.AbstractAtomicType
              extended byorg.apache.ws.jaxme.xs.types.XSString
                  extended byorg.apache.ws.jaxme.xs.types.XSNormalizedString
                      extended byorg.apache.ws.jaxme.xs.types.XSToken
                          extended byorg.apache.ws.jaxme.xs.types.XSName
                              extended byorg.apache.ws.jaxme.xs.types.XSNCName
                                  extended byorg.apache.ws.jaxme.xs.types.XSEntity
All Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType

public class XSEntity
extends XSNCName

The xs:NCName type

Author:
Jochen Wiedmann

Constructor Summary
protected XSEntity()
           
 
Method Summary
static XSType getInstance()
           
 XsQName getName()
          If the type is global: Returns the types name.
 XSType getRestrictedType()
          If the simple type is a restriction, returns the restricted simple type.
 
Methods inherited from class org.apache.ws.jaxme.xs.types.XSToken
isCollapsing
 
Methods inherited from class org.apache.ws.jaxme.xs.types.XSNormalizedString
isReplacing
 
Methods inherited from class org.apache.ws.jaxme.xs.types.XSString
isRestriction
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractAtomicType
getAtomicType, getFractionDigits, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getTotalDigits, isAtomic, isBuiltin
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractSimpleType
getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isList, 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
 

Constructor Detail

XSEntity

protected XSEntity()
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
Overrides:
getName in class XSNCName

getInstance

public static XSType getInstance()

getRestrictedType

public XSType getRestrictedType()
Description copied from interface: XSSimpleType

If the simple type is a restriction, returns the restricted simple type.

Specified by:
getRestrictedType in interface XSSimpleType
Overrides:
getRestrictedType in class XSNCName