|
||||||||||
| 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()
XSOpenAttrsReturns the additional attributes, if any, or null.
getOpenAttributes in interface XSOpenAttrspublic boolean isSimple()
XSTypeReturns whether the type is simple or not.
isSimple in interface XSTypepublic boolean isGlobal()
XSTypeReturns whether the type is global or not.
isGlobal in interface XSTypepublic boolean isAtomic()
XSSimpleTypeReturns whether the simple type is atomic.
isAtomic in interface XSSimpleTypepublic boolean isList()
XSSimpleTypeReturns whether the simple type is a list.
isList in interface XSSimpleTypepublic boolean isUnion()
XSSimpleTypeReturns whether the simple type is a union.
isUnion in interface XSSimpleTypepublic XSSimpleType getSimpleType()
XSTypeReturns the simple types information.
getSimpleType in interface XSTypepublic java.lang.String[][] getPattern()
XSSimpleTypeReturns 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 XSSimpleTypepublic XSEnumeration[] getEnumerations()
XSSimpleTypeReturns the values of the "enumeration" facets.
getEnumerations in interface XSSimpleTypepublic XSAnnotation[] getAnnotations()
XSTypeReturns the array of annotations.
getAnnotations in interface XSTypepublic XSObject getParentObject()
XSObjectReturns either of the following:
getParentObject in interface XSObjectpublic boolean isTopLevelObject()
XSObjectReturns 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 XSObjectpublic void setGlobal(boolean pGlobal)
XSTypeSets whether the type is global or not.
setGlobal in interface XSTypepublic XSSchema getXSSchema()
XSObjectReturns the objects schema.
getXSSchema in interface XSObjectpublic XSComplexType getComplexType()
XSTypeReturns the complex types information.
getComplexType in interface XSTypepublic XSAtomicType getAtomicType()
XSSimpleTypeReturns the atomic type details.
getAtomicType in interface XSSimpleTypepublic XSListType getListType()
XSSimpleTypeReturns the list type details.
getListType in interface XSSimpleTypepublic XSUnionType getUnionType()
XSSimpleTypeReturns the union type details.
getUnionType in interface XSSimpleTypepublic org.xml.sax.Locator getLocator()
XSObjectReturns the objects location.
getLocator in interface XSObjectpublic XSObjectFactory getXSObjectFactory()
public void validate()
throws org.xml.sax.SAXException
XSObjectValidates the objects internal state.
validate in interface XSObjectorg.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||