Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.ws.jaxme.xs.impl.XSSimpleTypeImpl
org.apache.ws.jaxme.xs.impl.XSListTypeImpl
Constructor Summary | |
|
Method Summary | |
XSEnumeration[] |
|
XSType | |
Long | |
XSListType |
|
Long | |
Long | |
String[][] |
|
XSType |
|
boolean |
|
boolean |
|
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSSimpleTypeImpl | |
getAtomicType , getListType , getUnionType , isAtomic , isList , isUnion |
public XSEnumeration[] getEnumerations()
Returns the values of the "enumeration" facets.
- Specified by:
- getEnumerations in interface XSSimpleType
public XSListType getListType()
Returns the list type details.
- Specified by:
- getListType in interface XSSimpleType
- Overrides:
- getListType in interface XSSimpleTypeImpl
public String[][] getPattern()
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.
- Specified by:
- getPattern in interface XSSimpleType
public XSType getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.
- Specified by:
- getRestrictedType in interface XSSimpleType
public boolean isList()
Returns whether the simple type is a list.
- Specified by:
- isList in interface XSSimpleType
- Overrides:
- isList in interface XSSimpleTypeImpl
public boolean isRestriction()
Returns whether the type is a restriction of another simple type. (Almost all simple types are, the exception being the ur typeXSAnySimpleType
.
- Specified by:
- isRestriction in interface XSSimpleType