|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSType
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 |
---|
XSAnnotation[] getAnnotations()
Returns the array of annotations.
boolean isSimple()
Returns whether the type is simple or not.
XSSimpleType getSimpleType() throws org.xml.sax.SAXException
Returns the simple types information.
java.lang.IllegalStateException
- The type is complex.
org.xml.sax.SAXException
XSComplexType getComplexType() throws org.xml.sax.SAXException
Returns the complex types information.
java.lang.IllegalStateException
- The type is simple
org.xml.sax.SAXException
boolean isGlobal()
Returns whether the type is global or not.
void setGlobal(boolean pGlobal)
Sets whether the type is global or not.
XsQName getName()
If the type is global: Returns the types name. Otherwise returns null.
boolean isBuiltin()
Returns whether the type is a builtin type of XML Schema.
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 |