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, wait
getComplexType, getName, getSimpleType, isBuiltin, isSimple
getParentObject, isTopLevelObject
public org.xml.sax.Attributes getOpenAttributes()
XSOpenAttrs
Returns the additional attributes, if any, or null.
getOpenAttributes
in interface XSOpenAttrs
public XSAnnotation[] getAnnotations()
XSType
Returns the array of annotations.
getAnnotations
in interface XSType
public boolean isGlobal()
XSType
Returns whether the type is global or not.
public XSSchema getXSSchema()
XSObject
Returns the objects schema.
getXSSchema
in interface XSObject
public void setGlobal(boolean pGlobal)
XSType
Sets whether the type is global or not.
public org.xml.sax.Locator getLocator()
XSObject
Returns the objects location.
getLocator
in interface XSObject
public void validate() throws org.xml.sax.SAXException
XSObject
Validates the objects internal state.
public XsSchemaHeader getSchemaHeader()
XSType
Returns the types syntactical context or null, if no such context is available.
getSchemaHeader
in interface XSType