org.apache.ws.jaxme.xs.types

Class XSEntity

Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType

public class XSEntity
extends XSNCName

The xs:NCName type
Author:
Jochen Wiedmann

Constructor Summary

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.XSNCName

getInstance, getName, getRestrictedType

Methods inherited from class org.apache.ws.jaxme.xs.types.XSName

getInstance, getName, getRestrictedType

Methods inherited from class org.apache.ws.jaxme.xs.types.XSToken

getInstance, getName, getRestrictedType, isCollapsing

Methods inherited from class org.apache.ws.jaxme.xs.types.XSNormalizedString

getInstance, getName, getRestrictedType, isReplacing

Methods inherited from class org.apache.ws.jaxme.xs.types.XSString

getInstance, getName, getRestrictedType, isRestriction

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

getAtomicType, getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isAtomic, isList, isSimple, isTopLevelObject, isUnion

Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractBuiltinType

getAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validate

Constructor Details

XSEntity

protected XSEntity()

Method Details

getInstance

public static XSType getInstance()
Overrides:
getInstance in interface XSNCName

getName

public XsQName getName()
If the type is global: Returns the types name. Otherwise returns null.
Specified by:
getName in interface XSType
Overrides:
getName in interface XSNCName

getRestrictedType

public XSType getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.
Specified by:
getRestrictedType in interface XSSimpleType
Overrides:
getRestrictedType in interface XSNCName