public class XsAGDefRefImpl extends java.lang.Object implements XsAGDefRef
Implementation 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.
| Constructor and Description |
|---|
XsAGDefRefImpl(XsObject pOwner)
Creates a new instance with the given parent object.
|
public XsAGDefRefImpl(XsObject pOwner)
Creates a new instance with the given parent object.
public void setName(XsNCName pName)
setName in interface XsAGDefRefpublic XsNCName getName()
getName in interface XsAGDefRefpublic void setRef(XsQName pRef)
setRef in interface XsAGDefRefpublic void setRef(java.lang.String pRef)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsQName getRef()
getRef in interface XsAGDefRefpublic void validate()
throws org.xml.sax.SAXException
XsAGDefRefValidates whether the attribute groups constraints are met.
validate in interface XsAGDefReforg.xml.sax.SAXException