org.apache.ws.jaxme.xs.xml
Interface XsAGDefRef

All Known Subinterfaces:
XsEChoice, XsESequence, XsTAll, XsTAttributeGroup, XsTElement, XsTExplicitGroup, XsTGroup, XsTGroupRef, XsTLocalElement, XsTRealGroup, XsTTopLevelElement
All Known Implementing Classes:
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.

Author:
Jochen Wiedmann

Method Summary
 XsNCName getName()
           
 XsQName getRef()
           
 void setName(XsNCName pName)
           
 void setRef(XsQName pRef)
           
 void validate()
          Validates whether the attribute groups constraints are met.
 

Method Detail

setName

void setName(XsNCName pName)

getName

XsNCName getName()

setRef

void setRef(XsQName pRef)

getRef

XsQName getRef()

validate

void validate()
              throws org.xml.sax.SAXException

Validates whether the attribute groups constraints are met.

Throws:
org.xml.sax.SAXException