public class XSTypeImpl extends XSOpenAttrsImpl implements XSType
| Modifier and Type | Class and Description |
|---|---|
class |
XSTypeImpl.XSAllComplexTypeImpl |
class |
XSTypeImpl.XSBasicComplexTypeImpl |
class |
XSTypeImpl.XSChoiceComplexTypeImpl |
class |
XSTypeImpl.XSComplexContentImpl |
class |
XSTypeImpl.XSComplexTypeImpl |
class |
XSTypeImpl.XSGroupComplexTypeImpl |
class |
XSTypeImpl.XSSequenceComplexTypeImpl |
class |
XSTypeImpl.XSSimpleContentImpl |
| Modifier | Constructor and Description |
|---|---|
protected |
XSTypeImpl(XSObject pParent,
XsETopLevelSimpleType pSimpleType) |
protected |
XSTypeImpl(XSObject pParent,
XsTComplexType pComplexType) |
protected |
XSTypeImpl(XSObject pParent,
XsTLocalComplexType pComplexType) |
protected |
XSTypeImpl(XSObject pParent,
XsTLocalSimpleType pSimpleType) |
protected |
XSTypeImpl(XSObject pParent,
XsTSimpleRestrictionType pRestriction) |
| Modifier and Type | Method and Description |
|---|---|
XSAnnotation[] |
getAnnotations()
Returns the array of annotations.
|
XSComplexType |
getComplexType()
Returns the complex types information.
|
XsQName |
getName()
If the type is global: Returns the types name.
|
XsSchemaHeader |
getSchemaHeader()
Returns the types syntactical context or null, if no such context
is available.
|
XSSimpleType |
getSimpleType()
Returns the simple types information.
|
boolean |
isBuiltin()
Returns whether the type is a builtin type of XML Schema.
|
boolean |
isGlobal()
Returns whether the type is global or not.
|
boolean |
isSimple()
Returns whether the type is simple or not.
|
protected boolean |
isValidated() |
void |
setGlobal(boolean pGlobal)
Sets whether the type is global or not.
|
void |
validate()
Validates the objects internal state.
|
getOpenAttributesgetLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject, validateAllInclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOpenAttributesgetLocator, getParentObject, getXSSchema, isTopLevelObjectprotected XSTypeImpl(XSObject pParent, XsETopLevelSimpleType pSimpleType) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected XSTypeImpl(XSObject pParent, XsTLocalSimpleType pSimpleType)
protected XSTypeImpl(XSObject pParent, XsTComplexType pComplexType) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected XSTypeImpl(XSObject pParent, XsTLocalComplexType pComplexType)
protected XSTypeImpl(XSObject pParent, XsTSimpleRestrictionType pRestriction) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected boolean isValidated()
public XsQName getName()
XSTypeIf the type is global: Returns the types name. Otherwise returns null.
public boolean isSimple()
XSTypeReturns whether the type is simple or not.
public boolean isGlobal()
XSTypeReturns whether the type is global or not.
public void setGlobal(boolean pGlobal)
XSTypeSets whether the type is global or not.
public XSAnnotation[] getAnnotations()
XSTypeReturns the array of annotations.
getAnnotations in interface XSTypepublic void validate()
throws org.xml.sax.SAXException
XSObjectValidates the objects internal state.
validate in interface XSObjectvalidate in class XSObjectImplorg.xml.sax.SAXExceptionpublic XSSimpleType getSimpleType() throws org.xml.sax.SAXException
XSTypeReturns the simple types information.
getSimpleType in interface XSTypeorg.xml.sax.SAXExceptionpublic XSComplexType getComplexType() throws org.xml.sax.SAXException
XSTypeReturns the complex types information.
getComplexType in interface XSTypeorg.xml.sax.SAXExceptionpublic boolean isBuiltin()
XSTypeReturns whether the type is a builtin type of XML Schema.
public XsSchemaHeader getSchemaHeader()
XSTypeReturns the types syntactical context or null, if no such context is available.
getSchemaHeader in interface XSType