org.apache.ws.jaxme.xs

Interface XSType

All Superinterfaces:
XSObject, XSOpenAttrs
Known Subinterfaces:
JAXBType
Known Implementing Classes:
AbstractAtomicType, AbstractBuiltinType, AbstractListType, AbstractSimpleType, JAXBTypeImpl, JMChar, XSAnySimpleType, XSAnyType, XSAnyURI, XSBase64Binary, XSBoolean, XSByte, XSDate, XSDateTime, XSDecimal, XSDouble, XSDuration, XSEntities, XSEntity, XSFloat, XSGDay, XSGMonth, XSGMonthDay, XSGYear, XSGYearMonth, XSHexBinary, XSID, XSIDREF, XSIDREFs, XSInt, XSInteger, XSLanguage, XSLong, XSName, XSNCName, XSNegativeInteger, XSNMToken, XSNMTokens, XSNonNegativeInteger, XSNonPositiveInteger, XSNormalizedString, XSNotation, XSPositiveInteger, XSQName, XSShort, XSString, XSTime, XSToken, XSTypeImpl, XSUnsignedByte, XSUnsignedInt, XSUnsignedLong, XSUnsignedShort

public interface XSType
extends XSOpenAttrs

Interface of an XML Schema type. Includes complex and simple types.
Author:
Jochen Wiedmann

Method Summary

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.
void
setGlobal(boolean pGlobal)
Sets whether the type is global or not.

Methods inherited from interface org.apache.ws.jaxme.xs.XSObject

getLocator, getParentObject, getXSSchema, isTopLevelObject, validate

Methods inherited from interface org.apache.ws.jaxme.xs.XSOpenAttrs

getOpenAttributes

Method Details

getAnnotations

public XSAnnotation[] getAnnotations()
Returns the array of annotations.

getComplexType

public XSComplexType getComplexType()
            throws SAXException
Returns the complex types information.

getName

public XsQName getName()
If the type is global: Returns the types name. Otherwise returns null.

getSchemaHeader

public XsSchemaHeader getSchemaHeader()
Returns the types syntactical context or null, if no such context is available.

getSimpleType

public XSSimpleType getSimpleType()
            throws SAXException
Returns the simple types information.

isBuiltin

public boolean isBuiltin()
Returns whether the type is a builtin type of XML Schema.

isGlobal

public boolean isGlobal()
Returns whether the type is global or not.

isSimple

public boolean isSimple()
Returns whether the type is simple or not.

setGlobal

public void setGlobal(boolean pGlobal)
Sets whether the type is global or not.