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.XSSimpleTypeRestrictionImpl
public abstract class XSSimpleTypeRestrictionImpl
extends XSSimpleTypeImpl
Constructor Summary | |
|
Method Summary | |
protected XSSimpleType | |
XSEnumeration[] |
|
String[][] |
|
XSType |
|
protected XsGSimpleRestrictionModel | |
boolean |
|
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSSimpleTypeImpl | |
getAtomicType , getListType , getUnionType , isAtomic , isList , isUnion |
protected XSSimpleTypeRestrictionImpl(XSType pParent, XSType pRestrictedType, XsGSimpleRestrictionModel pRestriction) throws SAXException
public XSEnumeration[] getEnumerations()
Returns the values of the "enumeration" facets.
- Specified by:
- getEnumerations in interface XSSimpleType
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 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