public class XsTNamedGroupImpl extends XsTAnnotatedImpl implements XsTNamedGroup
Implementation of a named top-level group, with the following specification:
<xs:complexType name="namedGroup"> <xs:annotation> <xs:documentation> Should derive this from realGroup, but too complicated for now </xs:documentation> </xs:annotation> <xs:sequence> <xs:element ref="xs:annotation" minOccurs="0"/> <xs:choice minOccurs="1" maxOccurs="1"> <xs:element name="all"> <xs:complexType> <xs:complexContent> <xs:restriction base="xs:all"> <xs:group ref="xs:allModel"/> <xs:attribute name="minOccurs" use="prohibited"/> <xs:attribute name="maxOccurs" use="prohibited"/> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:element> <xs:element name="choice" type="xs:simpleExplicitGroup"/> <xs:element name="sequence" type="xs:simpleExplicitGroup"/> </xs:choice> </xs:sequence> <xs:attribute name="name" use="required" type="xs:NCName"/> <xs:attribute name="ref" use="prohibited"/> <xs:attribute name="minOccurs" use="prohibited"/> <xs:attribute name="maxOccurs" use="prohibited"/> </xs:complexType> </pre></p>
Modifier | Constructor and Description |
---|---|
protected |
XsTNamedGroupImpl(XsObject pParent) |
Modifier and Type | Method and Description |
---|---|
XsGAllModel |
createAll() |
XsTSimpleExplicitGroup |
createChoice() |
XsTSimpleExplicitGroup |
createSequence() |
XsGAllModel |
getAll() |
XsTSimpleExplicitGroup |
getChoice() |
XsNCName |
getName() |
XsTSimpleExplicitGroup |
getSequence() |
void |
setName(XsNCName pName) |
void |
validate()
Validates the internal state of the type, attribute, element,
or whatever object.
|
createAnnotation, getAnnotation, getId, setId
getOpenAttributes, setAttribute
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
protected XsTNamedGroupImpl(XsObject pParent)
public void setName(XsNCName pName)
setName
in interface XsTNamedGroup
public XsNCName getName()
getName
in interface XsTNamedGroup
public XsGAllModel createAll()
createAll
in interface XsTNamedGroup
public XsGAllModel getAll()
getAll
in interface XsTNamedGroup
public XsTSimpleExplicitGroup createSequence()
createSequence
in interface XsTNamedGroup
public XsTSimpleExplicitGroup getSequence()
getSequence
in interface XsTNamedGroup
public XsTSimpleExplicitGroup createChoice()
createChoice
in interface XsTNamedGroup
public XsTSimpleExplicitGroup getChoice()
getChoice
in interface XsTNamedGroup
public void validate()
XsObject
validate
in interface XsObject
validate
in class XsObjectImpl