org.apache.ws.jaxme.xs.xml.impl

Class XsAGDefRefImpl

public class XsAGDefRefImpl extends 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

Constructor Summary
XsAGDefRefImpl(XsObject pOwner)

Creates a new instance with the given parent object.

Method Summary
XsNCNamegetName()
XsQNamegetRef()
voidsetName(XsNCName pName)
voidsetRef(XsQName pRef)
voidsetRef(String pRef)
voidvalidate()

Constructor Detail

XsAGDefRefImpl

public XsAGDefRefImpl(XsObject pOwner)

Creates a new instance with the given parent object.

Method Detail

getName

public XsNCName getName()

getRef

public XsQName getRef()

setName

public void setName(XsNCName pName)

setRef

public void setRef(XsQName pRef)

setRef

public void setRef(String pRef)

validate

public void validate()