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.
|
getOpenAttributes
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject, validateAllIn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOpenAttributes
getLocator, getParentObject, getXSSchema, isTopLevelObject
protected XSTypeImpl(XSObject pParent, XsETopLevelSimpleType pSimpleType) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected XSTypeImpl(XSObject pParent, XsTLocalSimpleType pSimpleType)
protected XSTypeImpl(XSObject pParent, XsTComplexType pComplexType) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected XSTypeImpl(XSObject pParent, XsTLocalComplexType pComplexType)
protected XSTypeImpl(XSObject pParent, XsTSimpleRestrictionType pRestriction) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected boolean isValidated()
public XsQName getName()
XSType
If the type is global: Returns the types name. Otherwise returns null.
public boolean isSimple()
XSType
Returns whether the type is simple or not.
public boolean isGlobal()
XSType
Returns whether the type is global or not.
public void setGlobal(boolean pGlobal)
XSType
Sets whether the type is global or not.
public XSAnnotation[] getAnnotations()
XSType
Returns the array of annotations.
getAnnotations
in interface XSType
public void validate() throws org.xml.sax.SAXException
XSObject
Validates the objects internal state.
validate
in interface XSObject
validate
in class XSObjectImpl
org.xml.sax.SAXException
public XSSimpleType getSimpleType() throws org.xml.sax.SAXException
XSType
Returns the simple types information.
getSimpleType
in interface XSType
org.xml.sax.SAXException
public XSComplexType getComplexType() throws org.xml.sax.SAXException
XSType
Returns the complex types information.
getComplexType
in interface XSType
org.xml.sax.SAXException
public boolean isBuiltin()
XSType
Returns whether the type is a builtin type of XML Schema.
public XsSchemaHeader getSchemaHeader()
XSType
Returns the types syntactical context or null, if no such context is available.
getSchemaHeader
in interface XSType