org.apache.ws.jaxme.xs
public interface XSType extends XSOpenAttrs
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. |
Returns the array of annotations.
Returns the complex types information.
Throws: IllegalStateException The type is simple
If the type is global: Returns the types name. Otherwise returns null.
Returns the types syntactical context or null, if no such context is available.
Returns the simple types information.
Throws: IllegalStateException The type is complex.
Returns whether the type is a builtin type of XML Schema.
Returns whether the type is global or not.
Returns whether the type is simple or not.
Sets whether the type is global or not.