net.sf.jaxme.xs.xml.impl
Class XsAGDefRefImpl
java.lang.Object
net.sf.jaxme.xs.xml.impl.XsAGDefRefImpl
- All Implemented Interfaces:
- XsAGDefRef
- 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.
- Author:
- Jochen Wiedmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsAGDefRefImpl
public XsAGDefRefImpl(XsObject pOwner)
setName
public void setName(XsNCName pName)
- Specified by:
setName
in interface XsAGDefRef
getName
public XsNCName getName()
- Specified by:
getName
in interface XsAGDefRef
setRef
public void setRef(XsQName pRef)
- Specified by:
setRef
in interface XsAGDefRef
setRef
public void setRef(java.lang.String pRef)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getRef
public XsQName getRef()
- Specified by:
getRef
in interface XsAGDefRef
validate
public void validate()
throws org.xml.sax.SAXException
- Description copied from interface:
XsAGDefRef
Validates whether the attribute groups constraints are met.
- Specified by:
validate
in interface XsAGDefRef
- Throws:
org.xml.sax.SAXException