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

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.AbstractAtomicType
              extended by org.apache.ws.jaxme.xs.types.XSQName
All Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType

public class XSQName
extends AbstractAtomicType

The type xs:QName.

Author:
Jochen Wiedmann

Constructor Summary
protected XSQName()
           
 
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.
 boolean isRestriction()
          Returns whether the type is a restriction of another simple type.
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractAtomicType
getAtomicType, getFractionDigits, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getTotalDigits, isAtomic, isBuiltin, isCollapsing, isReplacing
 
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

XSQName

protected XSQName()
Method Detail

getName

public XsQName getName()
Description copied from interface: XSType

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


getInstance

public static XSType getInstance()

isRestriction

public boolean isRestriction()
Description copied from interface: XSSimpleType

Returns whether the type is a restriction of another simple type. (Almost all simple types are, the exception being the ur type XSAnySimpleType.


getRestrictedType

public XSType getRestrictedType()
Description copied from interface: XSSimpleType

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