org.apache.ws.jaxme.xs.types
Class AbstractBuiltinType

java.lang.Object
  extended by org.apache.ws.jaxme.xs.types.AbstractBuiltinType
All Implemented Interfaces:
XSObject, XSOpenAttrs, XSType
Direct Known Subclasses:
AbstractSimpleType, XSAnyType

public abstract class AbstractBuiltinType
extends java.lang.Object
implements XSType

An abstract type, to be extended by the builtin types.

Author:
Jochen Wiedmann

Constructor Summary
AbstractBuiltinType()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSType
getComplexType, getName, getSimpleType, isBuiltin, isSimple
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSObject
getParentObject, isTopLevelObject
 

Constructor Detail

AbstractBuiltinType

public AbstractBuiltinType()
Method Detail

getOpenAttributes

public org.xml.sax.Attributes getOpenAttributes()
Description copied from interface: XSOpenAttrs

Returns the additional attributes, if any, or null.

Specified by:
getOpenAttributes in interface XSOpenAttrs

getAnnotations

public XSAnnotation[] getAnnotations()
Description copied from interface: XSType

Returns the array of annotations.

Specified by:
getAnnotations in interface XSType

isGlobal

public boolean isGlobal()
Description copied from interface: XSType

Returns whether the type is global or not.

Specified by:
isGlobal in interface XSType

getXSSchema

public XSSchema getXSSchema()
Description copied from interface: XSObject

Returns the objects schema.

Specified by:
getXSSchema in interface XSObject

setGlobal

public void setGlobal(boolean pGlobal)
Description copied from interface: XSType

Sets whether the type is global or not.

Specified by:
setGlobal in interface XSType

getLocator

public org.xml.sax.Locator getLocator()
Description copied from interface: XSObject

Returns the objects location.

Specified by:
getLocator in interface XSObject

validate

public void validate()
              throws org.xml.sax.SAXException
Description copied from interface: XSObject

Validates the objects internal state.

Specified by:
validate in interface XSObject
Throws:
org.xml.sax.SAXException

getSchemaHeader

public XsSchemaHeader getSchemaHeader()
Description copied from interface: XSType

Returns the types syntactical context or null, if no such context is available.

Specified by:
getSchemaHeader in interface XSType