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.xml.impl.XsObjectImpl
org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
org.apache.ws.jaxme.xs.xml.impl.XsERestrictionImpl
xs:restriction
, following
this specification:
<xs:element name="restriction" id="restriction"> <xs:complexType> <xs:annotation> <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-restriction"> base attribute and simpleType child are mutually exclusive, but one or other is required </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="xs:annotated"> <xs:group ref="xs:simpleRestrictionModel"/> <xs:attribute name="base" type="xs:QName" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:group name="simpleRestrictionModel"> <xs:sequence> <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/> <xs:group ref="xs:facets" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:group> <xs:group name="facets"> <xs:annotation> <xs:documentation> We should use a substitution group for facets, but that's ruled out because it would allow users to add their own, which we're not ready for yet. </xs:documentation> </xs:annotation> <xs:choice> <xs:element ref="xs:minExclusive"/> <xs:element ref="xs:minInclusive"/> <xs:element ref="xs:maxExclusive"/> <xs:element ref="xs:maxInclusive"/> <xs:element ref="xs:totalDigits"/> <xs:element ref="xs:fractionDigits"/> <xs:element ref="xs:length"/> <xs:element ref="xs:minLength"/> <xs:element ref="xs:maxLength"/> <xs:element ref="xs:enumeration"/> <xs:element ref="xs:whiteSpace"/> <xs:element ref="xs:pattern"/> </xs:choice> </xs:group>
Constructor Summary | |
|
Method Summary | |
XsEEnumeration | |
XsEFractionDigits | |
XsELength | |
XsEMaxExclusive | |
XsEMaxInclusive | |
XsEMaxLength | |
XsEMinExclusive | |
XsEMinInclusive | |
XsEMinLength | |
XsEPattern | |
XsTLocalSimpleType | |
XsETotalDigits | |
XsEWhiteSpace | |
XsQName |
|
XsEEnumeration[] | |
XsTFacetBase[] |
|
XsEFractionDigits | |
XsELength | |
XsEMaxExclusive | |
XsEMaxInclusive | |
XsEMaxLength | |
XsEMinExclusive | |
XsEMinInclusive | |
XsEMinLength | |
XsEPattern[] | |
XsTLocalSimpleType | |
XsETotalDigits | |
XsEWhiteSpace | |
boolean |
|
void |
|
void |
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl | |
createAnnotation , getAnnotation , getId , setId |
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl | |
getOpenAttributes , setAttribute |
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl | |
asXsQName , asXsQName , getContext , getLocator , getNamespaceSupport , getObjectFactory , getParentObject , getXsESchema , isTopLevelObject , isValidated , validate |
public XsEEnumeration createEnumeration() throws SAXException
- Specified by:
- createEnumeration in interface XsGSimpleRestrictionModel
public XsEFractionDigits createFractionDigits() throws SAXException
- Specified by:
- createFractionDigits in interface XsGSimpleRestrictionModel
public XsELength createLength() throws SAXException
- Specified by:
- createLength in interface XsGSimpleRestrictionModel
public XsEMaxExclusive createMaxExclusive() throws SAXException
- Specified by:
- createMaxExclusive in interface XsGSimpleRestrictionModel
public XsEMaxInclusive createMaxInclusive() throws SAXException
- Specified by:
- createMaxInclusive in interface XsGSimpleRestrictionModel
public XsEMaxLength createMaxLength() throws SAXException
- Specified by:
- createMaxLength in interface XsGSimpleRestrictionModel
public XsEMinExclusive createMinExclusive() throws SAXException
- Specified by:
- createMinExclusive in interface XsGSimpleRestrictionModel
public XsEMinInclusive createMinInclusive() throws SAXException
- Specified by:
- createMinInclusive in interface XsGSimpleRestrictionModel
public XsEMinLength createMinLength() throws SAXException
- Specified by:
- createMinLength in interface XsGSimpleRestrictionModel
public XsEPattern createPattern() throws SAXException
- Specified by:
- createPattern in interface XsGSimpleRestrictionModel
public XsTLocalSimpleType createSimpleType() throws SAXException
- Specified by:
- createSimpleType in interface XsERestriction
- createSimpleType in interface XsGSimpleRestrictionModel
public XsETotalDigits createTotalDigits() throws SAXException
- Specified by:
- createTotalDigits in interface XsGSimpleRestrictionModel
public XsEWhiteSpace createWhiteSpace() throws SAXException
- Specified by:
- createWhiteSpace in interface XsGSimpleRestrictionModel
public XsEEnumeration[] getEnumerations()
- Specified by:
- getEnumerations in interface XsGSimpleRestrictionModel
public XsTFacetBase[] getFacets()
Returns an array of all facets.
- Specified by:
- getFacets in interface XsGSimpleRestrictionModel
public XsEFractionDigits getFractionDigits()
- Specified by:
- getFractionDigits in interface XsGSimpleRestrictionModel
public XsEMaxExclusive getMaxExclusive()
- Specified by:
- getMaxExclusive in interface XsGSimpleRestrictionModel
public XsEMaxInclusive getMaxInclusive()
- Specified by:
- getMaxInclusive in interface XsGSimpleRestrictionModel
public XsEMaxLength getMaxLength()
- Specified by:
- getMaxLength in interface XsGSimpleRestrictionModel
public XsEMinExclusive getMinExclusive()
- Specified by:
- getMinExclusive in interface XsGSimpleRestrictionModel
public XsEMinInclusive getMinInclusive()
- Specified by:
- getMinInclusive in interface XsGSimpleRestrictionModel
public XsEMinLength getMinLength()
- Specified by:
- getMinLength in interface XsGSimpleRestrictionModel
public XsEPattern[] getPatterns()
- Specified by:
- getPatterns in interface XsGSimpleRestrictionModel
public XsTLocalSimpleType getSimpleType()
- Specified by:
- getSimpleType in interface XsERestriction
- getSimpleType in interface XsGSimpleRestrictionModel
public XsETotalDigits getTotalDigits()
- Specified by:
- getTotalDigits in interface XsGSimpleRestrictionModel
public XsEWhiteSpace getWhiteSpace()
- Specified by:
- getWhiteSpace in interface XsGSimpleRestrictionModel
public boolean hasFacets()
Returns whether any facet has been defined.
- Specified by:
- hasFacets in interface XsGSimpleRestrictionModel
public void setBase(String pBase) throws SAXException