org.apache.ws.jaxme.xs
Interface XSType
- XSObject, XSOpenAttrs
- JAXBType
- 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
Interface of an XML Schema type. Includes complex and simple types.
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.