org.apache.ws.jaxme.xs.xml

Interface XsAGDefRef

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
XsNCNamegetName()
XsQNamegetRef()
voidsetName(XsNCName pName)
voidsetRef(XsQName pRef)
voidvalidate()

Validates whether the attribute groups constraints are met.

Method Detail

getName

public XsNCName getName()

getRef

public XsQName getRef()

setName

public void setName(XsNCName pName)

setRef

public void setRef(XsQName pRef)

validate

public void validate()

Validates whether the attribute groups constraints are met.