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

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended by org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended by org.apache.ws.jaxme.xs.xml.impl.XsTAttributeGroupRefImpl
All 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
protected XsTAttributeGroupRefImpl(XsObject pParent)
           
 
Method Summary
 XsQName getRef()
           
 void setRef(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
 

Constructor Detail

XsTAttributeGroupRefImpl

protected XsTAttributeGroupRefImpl(XsObject pParent)
Method Detail

setRef

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

setRef

public void setRef(java.lang.String pRef)
            throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getRef

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

validate

public void validate()
Description copied from interface: XsObject
Validates the internal state of the type, attribute, element, or whatever object.

Specified by:
validate in interface XsObject
Overrides:
validate in class XsObjectImpl