|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.xs.xml.impl.XsGSimpleRestrictionModelImpl
Interface of xs:simpleRestrictionModel
, following
this specification:
<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 | |
protected |
XsGSimpleRestrictionModelImpl(XsObject pOwner)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected XsGSimpleRestrictionModelImpl(XsObject pOwner)
Method Detail |
public XsTLocalSimpleType createSimpleType()
createSimpleType
in interface XsGSimpleRestrictionModel
public XsTLocalSimpleType getSimpleType()
getSimpleType
in interface XsGSimpleRestrictionModel
protected XsTFacetBase getFacetByName(java.lang.String pName)
protected void addFacet(XsTFacetBase pFacet)
protected void addUniqueFacet(XsTFacetBase pFacet)
public XsEMinExclusive createMinExclusive()
createMinExclusive
in interface XsGSimpleRestrictionModel
public XsEMinExclusive getMinExclusive()
getMinExclusive
in interface XsGSimpleRestrictionModel
public XsEMinInclusive createMinInclusive()
createMinInclusive
in interface XsGSimpleRestrictionModel
public XsEMinInclusive getMinInclusive()
getMinInclusive
in interface XsGSimpleRestrictionModel
public XsEMaxExclusive createMaxExclusive()
createMaxExclusive
in interface XsGSimpleRestrictionModel
public XsEMaxExclusive getMaxExclusive()
getMaxExclusive
in interface XsGSimpleRestrictionModel
public XsEMaxInclusive createMaxInclusive()
createMaxInclusive
in interface XsGSimpleRestrictionModel
public XsEMaxInclusive getMaxInclusive()
getMaxInclusive
in interface XsGSimpleRestrictionModel
public XsETotalDigits createTotalDigits()
createTotalDigits
in interface XsGSimpleRestrictionModel
public XsETotalDigits getTotalDigits()
getTotalDigits
in interface XsGSimpleRestrictionModel
public XsEFractionDigits createFractionDigits()
createFractionDigits
in interface XsGSimpleRestrictionModel
public XsEFractionDigits getFractionDigits()
getFractionDigits
in interface XsGSimpleRestrictionModel
public XsELength createLength()
createLength
in interface XsGSimpleRestrictionModel
public XsELength getLength()
getLength
in interface XsGSimpleRestrictionModel
public XsEMinLength createMinLength()
createMinLength
in interface XsGSimpleRestrictionModel
public XsEMinLength getMinLength()
getMinLength
in interface XsGSimpleRestrictionModel
public XsEMaxLength createMaxLength()
createMaxLength
in interface XsGSimpleRestrictionModel
public XsEMaxLength getMaxLength()
getMaxLength
in interface XsGSimpleRestrictionModel
public XsEWhiteSpace createWhiteSpace()
createWhiteSpace
in interface XsGSimpleRestrictionModel
public XsEWhiteSpace getWhiteSpace()
getWhiteSpace
in interface XsGSimpleRestrictionModel
public XsEPattern createPattern()
createPattern
in interface XsGSimpleRestrictionModel
public XsEPattern[] getPatterns()
getPatterns
in interface XsGSimpleRestrictionModel
public XsEEnumeration createEnumeration()
createEnumeration
in interface XsGSimpleRestrictionModel
public XsEEnumeration[] getEnumerations()
getEnumerations
in interface XsGSimpleRestrictionModel
public boolean hasFacets()
XsGSimpleRestrictionModel
Returns whether any facet has been defined.
hasFacets
in interface XsGSimpleRestrictionModel
public XsTFacetBase[] getFacets()
XsGSimpleRestrictionModel
Returns an array of all facets.
getFacets
in interface XsGSimpleRestrictionModel
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |