public abstract class AbstractBuiltinType extends java.lang.Object implements XSType
An abstract type, to be extended by the builtin types.
| Constructor and Description |
|---|
AbstractBuiltinType() |
| Modifier and Type | Method and Description |
|---|---|
XSAnnotation[] |
getAnnotations()
Returns the array of annotations.
|
org.xml.sax.Locator |
getLocator()
Returns the objects location.
|
org.xml.sax.Attributes |
getOpenAttributes()
Returns the additional attributes, if any, or null.
|
XsSchemaHeader |
getSchemaHeader()
Returns the types syntactical context or null, if no such context
is available.
|
XSSchema |
getXSSchema()
Returns the objects schema.
|
boolean |
isGlobal()
Returns whether the type is global or not.
|
void |
setGlobal(boolean pGlobal)
Sets whether the type is global or not.
|
void |
validate()
Validates the objects internal state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComplexType, getName, getSimpleType, isBuiltin, isSimplegetParentObject, isTopLevelObjectpublic org.xml.sax.Attributes getOpenAttributes()
XSOpenAttrsReturns the additional attributes, if any, or null.
getOpenAttributes in interface XSOpenAttrspublic XSAnnotation[] getAnnotations()
XSTypeReturns the array of annotations.
getAnnotations in interface XSTypepublic boolean isGlobal()
XSTypeReturns whether the type is global or not.
public XSSchema getXSSchema()
XSObjectReturns the objects schema.
getXSSchema in interface XSObjectpublic void setGlobal(boolean pGlobal)
XSTypeSets whether the type is global or not.
public org.xml.sax.Locator getLocator()
XSObjectReturns the objects location.
getLocator in interface XSObjectpublic void validate()
throws org.xml.sax.SAXException
XSObjectValidates the objects internal state.
public XsSchemaHeader getSchemaHeader()
XSTypeReturns the types syntactical context or null, if no such context is available.
getSchemaHeader in interface XSType