|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface of an XML Schema type. Includes complex and simple types.
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.XSOpenAttrs |
getOpenAttributes |
Methods inherited from interface org.apache.ws.jaxme.xs.XSObject |
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate |
Method Detail |
public XSAnnotation[] getAnnotations()
Returns the array of annotations.
public boolean isSimple()
Returns whether the type is simple or not.
public XSSimpleType getSimpleType() throws org.xml.sax.SAXException
Returns the simple types information.
java.lang.IllegalStateException
- The type is complex.
org.xml.sax.SAXException
public XSComplexType getComplexType() throws org.xml.sax.SAXException
Returns the complex types information.
java.lang.IllegalStateException
- The type is simple
org.xml.sax.SAXException
public boolean isGlobal()
Returns whether the type is global or not.
public void setGlobal(boolean pGlobal)
Sets whether the type is global or not.
public XsQName getName()
If the type is global: Returns the types name. Otherwise returns null.
public boolean isBuiltin()
Returns whether the type is a builtin type of XML Schema.
public XsSchemaHeader getSchemaHeader()
Returns the types syntactical context or null, if no such context is available.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |