|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.xs.jaxb.impl.JAXBSimpleTypeImpl
public class JAXBSimpleTypeImpl
Constructor Summary | |
---|---|
protected |
JAXBSimpleTypeImpl(XSType pMyType,
XSSimpleType pBaseType)
Creates a new instance of JAXBSimpleTypeImpl. |
Method Summary | |
---|---|
XSAtomicType |
getAtomicType()
Returns the atomic type details. |
XSEnumeration[] |
getEnumerations()
Returns the values of the "enumeration" facets. |
JAXBJavaType |
getJAXBJavaType()
Returns the jaxb:javaType customization details. |
JAXBTypesafeEnumClass |
getJAXBTypesafeEnumClass()
Returns the jaxb:typesafeEnumClass details. |
XSListType |
getListType()
Returns the list type details. |
java.lang.String[][] |
getPattern()
Returns the value of the "pattern" facet or null, if the pattern has not been set. |
XSType |
getRestrictedType()
If the simple type is a restriction, returns the restricted simple type. |
XSUnionType |
getUnionType()
Returns the union type details. |
boolean |
isAtomic()
Returns whether the simple type is atomic. |
boolean |
isList()
Returns whether the simple type is a list. |
boolean |
isRestriction()
Returns whether the type is a restriction of another simple type. |
boolean |
isUnion()
Returns whether the simple type is a union. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected JAXBSimpleTypeImpl(XSType pMyType, XSSimpleType pBaseType) throws org.xml.sax.SAXException
Creates a new instance of JAXBSimpleTypeImpl.
org.xml.sax.SAXException
Method Detail |
---|
public JAXBJavaType getJAXBJavaType()
JAXBSimpleType
Returns the jaxb:javaType customization details.
getJAXBJavaType
in interface JAXBSimpleType
public JAXBTypesafeEnumClass getJAXBTypesafeEnumClass()
JAXBSimpleType
Returns the jaxb:typesafeEnumClass details.
getJAXBTypesafeEnumClass
in interface JAXBSimpleType
public boolean isAtomic()
XSSimpleType
Returns whether the simple type is atomic.
isAtomic
in interface XSSimpleType
public XSAtomicType getAtomicType()
XSSimpleType
Returns the atomic type details.
getAtomicType
in interface XSSimpleType
public boolean isList()
XSSimpleType
Returns whether the simple type is a list.
isList
in interface XSSimpleType
public XSListType getListType()
XSSimpleType
Returns the list type details.
getListType
in interface XSSimpleType
public boolean isUnion()
XSSimpleType
Returns whether the simple type is a union.
isUnion
in interface XSSimpleType
public XSUnionType getUnionType()
XSSimpleType
Returns the union type details.
getUnionType
in interface XSSimpleType
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 boolean isRestriction()
XSSimpleType
Returns whether the type is a restriction of another
simple type. (Almost all simple types are, the exception being
the ur type XSAnySimpleType
.
isRestriction
in interface XSSimpleType
public XSType getRestrictedType()
XSSimpleType
If the simple type is a restriction, returns the restricted simple type.
getRestrictedType
in interface XSSimpleType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |