|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.xs.xml.impl.XsAGDefRefImpl
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 Summary | |
XsAGDefRefImpl(XsObject pOwner)
Creates a new instance with the given parent object. |
|
| Method Summary | |
XsNCName |
getName()
|
XsQName |
getRef()
|
void |
setName(XsNCName pName)
|
void |
setRef(java.lang.String pRef)
|
void |
setRef(XsQName pRef)
|
void |
validate()
Validates whether the attribute groups constraints are met. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XsAGDefRefImpl(XsObject pOwner)
Creates a new instance with the given parent object.
| Method Detail |
public void setName(XsNCName pName)
setName in interface XsAGDefRefpublic XsNCName getName()
getName in interface XsAGDefRefpublic void setRef(XsQName pRef)
setRef in interface XsAGDefRef
public void setRef(java.lang.String pRef)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsQName getRef()
getRef in interface XsAGDefRef
public void validate()
throws org.xml.sax.SAXException
XsAGDefRefValidates whether the attribute groups constraints are met.
validate in interface XsAGDefReforg.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||