net.sf.jaxme.xs.xml.impl
Class XsTAttributeGroupRefImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.xml.impl.XsObjectImpl
      extended bynet.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended bynet.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended bynet.sf.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 types, attributes, elements, ... internal state.
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
getOpenAttributes, setAttribute
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsObjectImpl
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 net.sf.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface net.sf.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 types, attributes, elements, ... internal state.

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