org.apache.ws.jaxme.xs.xml
Interface XsAGDefRef
- XsEChoice, XsESequence, XsTAll, XsTAttributeGroup, XsTElement, XsTExplicitGroup, XsTGroup, XsTGroupRef, XsTLocalElement, XsTRealGroup, XsTTopLevelElement
- XsAGDefRefImpl, XsEChoiceImpl, XsESequenceImpl, XsTAllImpl, XsTAttributeGroupImpl, XsTElementImpl, XsTExplicitGroupImpl, XsTGroupImpl, XsTGroupRefImpl, XsTLocalAllElementImpl, XsTLocalElementImpl, XsTRealGroupImpl, XsTTopLevelElementImpl
public interface XsAGDefRef
Interface of the attribute group
xs:defRef
,
as specified by the following:
<xs:attributeGroup name="defRef">
<xs:annotation>
<xs:documentation>
for element, group and attributeGroup,
which both define and reference
</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:NCName"/>
<xs:attribute name="ref" type="xs:QName"/>
</xs:attributeGroup>
Implementation note: The 'name' and 'ref' attributes
are mutually exclusive. This is checked by the 'validate' method.
setName
public void setName(XsNCName pName)
setRef
public void setRef(XsQName pRef)
validate
public void validate()
throws SAXException
Validates whether the attribute groups constraints are met.