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

Class XsTAttributeGroupRefImpl

Implemented Interfaces:
XsObject, XsTAnnotated, XsTAttributeGroupRef, XsTOpenAttrs

public class XsTAttributeGroupRefImpl
extends XsTAnnotatedImpl
implements XsTAttributeGroupRef

Implementation of the xs:attributeGroupRef type, specified as follows:
  <xs:complexType name="attributeGroupRef">
    <xs:complexContent>
      <xs:restriction base="xs:attributeGroup">
        <xs:sequence>
          <xs:element ref="xs:annotation" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="ref" use="required" type="xs:QName"/>
        <xs:attribute name="name" use="prohibited"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
 
Author:
Jochen Wiedmann

Constructor Summary

XsTAttributeGroupRefImpl(XsObject pParent)

Method Summary

XsQName
getRef()
void
setRef(String pRef)
void
setRef(XsQName pRef)
void
validate()
Validates the internal state of the type, attribute, element, or whatever object.

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl

createAnnotation, getAnnotation, getId, setId

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl

getOpenAttributes, setAttribute

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl

asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate

Constructor Details

XsTAttributeGroupRefImpl

protected XsTAttributeGroupRefImpl(XsObject pParent)

Method Details

getRef

public XsQName getRef()
Specified by:
getRef in interface XsTAttributeGroupRef

setRef

public void setRef(String pRef)
            throws SAXException

setRef

public void setRef(XsQName pRef)
Specified by:
setRef in interface XsTAttributeGroupRef

validate

public void validate()
Validates the internal state of the type, attribute, element, or whatever object.
Specified by:
validate in interface XsObject
Overrides:
validate in interface XsObjectImpl