|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
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. |
XSSimpleType |
getSimpleType()
Returns the simple types information. |
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 net.sf.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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |