org.apache.ws.jaxme.xs.xml.impl
public class XsAGOccursImpl extends Object implements XsAGOccurs
Implementation of the attribute group xs:occurs,
as specified by the following:
<xs:attributeGroup name="occurs">
<xs:annotation>
<xs:documentation>
for all particles
</xs:documentation>
</xs:annotation>
<xs:attribute name="minOccurs" type="xs:nonNegativeInteger"
use="optional" default="1"/>
<xs:attribute name="maxOccurs" type="xs:allNNI"
use="optional" default="1"/>
</xs:attributeGroup>
Implementation note: The implementation must ensure that either 'maxOccurs' is unbounded or 'minOccurs' <= 'maxOccurs'.
| Constructor Summary | |
|---|---|
| XsAGOccursImpl(XsObject pOwner) | |
| Method Summary | |
|---|---|
| int | getMaxOccurs() |
| int | getMinOccurs() |
| void | setMaxOccurs(String pMaxOccurs) |
| void | setMinOccurs(int pMinOccurs) |
| void | validate() |