|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.jaxme.xs.types.AbstractSimpleType
Constructor Summary | |
AbstractSimpleType()
|
Method Summary | |
XSAnnotation[] |
getAnnotations()
Returns the array of annotations. |
XSAtomicType |
getAtomicType()
Returns the atomic type details. |
XSComplexType |
getComplexType()
Returns the complex types information. |
XSEnumeration[] |
getEnumerations()
Returns the values of the "enumeration" facets. |
XSListType |
getListType()
Returns the list type details. |
org.xml.sax.Locator |
getLocator()
Returns the objects location. |
org.xml.sax.Attributes |
getOpenAttributes()
Returns the additional attributes, if any, or null. |
XSObject |
getParentObject()
Returns either of the following: If the object is the schema itself, returns null. |
java.lang.String[][] |
getPattern()
Returns the value of the "pattern" facet or null, if the pattern has not been set. |
XSSimpleType |
getSimpleType()
Returns the simple types information. |
XSUnionType |
getUnionType()
Returns the union type details. |
XSObjectFactory |
getXSObjectFactory()
|
XSSchema |
getXSSchema()
Returns the objects schema. |
boolean |
isAtomic()
Returns whether the simple type is atomic. |
boolean |
isGlobal()
Returns whether the type is global or not. |
boolean |
isList()
Returns whether the simple type is a list. |
boolean |
isSimple()
Returns whether the type is simple or not. |
boolean |
isTopLevelObject()
Returns whether the object is a top-level object. |
boolean |
isUnion()
Returns whether the simple type is a union. |
void |
setGlobal(boolean pGlobal)
Sets whether the type is global or not. |
void |
validate()
Validates the objects internal state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.ws.jaxme.xs.XSType |
getName |
Methods inherited from interface org.apache.ws.jaxme.xs.XSSimpleType |
getRestrictedType, isRestriction |
Constructor Detail |
public AbstractSimpleType()
Method Detail |
public org.xml.sax.Attributes getOpenAttributes()
XSOpenAttrs
Returns the additional attributes, if any, or null.
getOpenAttributes
in interface XSOpenAttrs
public boolean isSimple()
XSType
Returns whether the type is simple or not.
isSimple
in interface XSType
public boolean isGlobal()
XSType
Returns whether the type is global or not.
isGlobal
in interface XSType
public boolean isAtomic()
XSSimpleType
Returns whether the simple type is atomic.
isAtomic
in interface XSSimpleType
public boolean isList()
XSSimpleType
Returns whether the simple type is a list.
isList
in interface XSSimpleType
public boolean isUnion()
XSSimpleType
Returns whether the simple type is a union.
isUnion
in interface XSSimpleType
public XSSimpleType getSimpleType()
XSType
Returns the simple types information.
getSimpleType
in interface XSType
public java.lang.String[][] getPattern()
XSSimpleType
Returns the value of the "pattern" facet or null, if the pattern has not been set.
The returned value is an array of pattern arrays. The latter arrays are the patterns defined in one restriction step. These have to be combined by "OR". The resulting, combined arrays are being grouped by an "AND". This is according to http://www.w3.org/TR/xmlschema-2/index.html#rf-pattern, 4.3.4.3.
getPattern
in interface XSSimpleType
public XSEnumeration[] getEnumerations()
XSSimpleType
Returns the values of the "enumeration" facets.
getEnumerations
in interface XSSimpleType
public XSAnnotation[] getAnnotations()
XSType
Returns the array of annotations.
getAnnotations
in interface XSType
public XSObject getParentObject()
XSObject
Returns either of the following:
getParentObject
in interface XSObject
public boolean isTopLevelObject()
XSObject
Returns whether the object is a top-level object. This is the case for the XsESchema itself and for all its childs only.
isTopLevelObject
in interface XSObject
public void setGlobal(boolean pGlobal)
XSType
Sets whether the type is global or not.
setGlobal
in interface XSType
public XSSchema getXSSchema()
XSObject
Returns the objects schema.
getXSSchema
in interface XSObject
public XSComplexType getComplexType()
XSType
Returns the complex types information.
getComplexType
in interface XSType
public XSAtomicType getAtomicType()
XSSimpleType
Returns the atomic type details.
getAtomicType
in interface XSSimpleType
public XSListType getListType()
XSSimpleType
Returns the list type details.
getListType
in interface XSSimpleType
public XSUnionType getUnionType()
XSSimpleType
Returns the union type details.
getUnionType
in interface XSSimpleType
public org.xml.sax.Locator getLocator()
XSObject
Returns the objects location.
getLocator
in interface XSObject
public XSObjectFactory getXSObjectFactory()
public void validate() throws org.xml.sax.SAXException
XSObject
Validates the objects internal state.
validate
in interface XSObject
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |