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

Class XsTGroupImpl

Implemented Interfaces:
XsAGDefRef, XsAGOccurs, XsGParticle, XsObject, XsTAnnotated, XsTGroup, XsTOpenAttrs
Known Direct Subclasses:
XsTExplicitGroupImpl, XsTRealGroupImpl

public class XsTGroupImpl
extends XsTAnnotatedImpl
implements XsTGroup

Implementation of the xs:group, type, with the following specification:
  <xs:complexType name="group" abstract="true">
    <xs:annotation>
      <xs:documentation>
        group type for explicit groups, named top-level groups and
        group references
      </xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:group ref="xs:particle" minOccurs="0" maxOccurs="unbounded"/>
        <xs:attributeGroup ref="xs:defRef"/>
        <xs:attributeGroup ref="xs:occurs"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
 
Author:
Jochen Wiedmann

Constructor Summary

XsTGroupImpl(XsObject pParent)

Method Summary

XsTAll
createAll()
XsEAny
createAny()
XsEChoice
createChoice()
XsTLocalElement
createElement()
XsTGroupRef
createGroup()
XsESequence
createSequence()
int
getMaxOccurs()
int
getMinOccurs()
XsNCName
getName()
XsTParticle[]
getParticles()
XsQName
getRef()
void
setMaxOccurs(String pMaxOccurs)
void
setMinOccurs(int pMinOccurs)
void
setName(XsNCName pName)
void
setRef(String pRef)
void
setRef(XsQName pRef)

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

XsTGroupImpl

protected XsTGroupImpl(XsObject pParent)

Method Details

createAll

public XsTAll createAll()
Specified by:
createAll in interface XsGParticle

createAny

public XsEAny createAny()
Specified by:
createAny in interface XsGParticle

createChoice

public XsEChoice createChoice()
Specified by:
createChoice in interface XsGParticle

createElement

public XsTLocalElement createElement()
Specified by:
createElement in interface XsGParticle

createGroup

public XsTGroupRef createGroup()
Specified by:
createGroup in interface XsGParticle

createSequence

public XsESequence createSequence()
Specified by:
createSequence in interface XsGParticle

getMaxOccurs

public int getMaxOccurs()
Specified by:
getMaxOccurs in interface XsAGOccurs

getMinOccurs

public int getMinOccurs()
Specified by:
getMinOccurs in interface XsAGOccurs

getName

public XsNCName getName()
Specified by:
getName in interface XsAGDefRef

getParticles

public XsTParticle[] getParticles()
Specified by:
getParticles in interface XsGParticle

getRef

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

setMaxOccurs

public void setMaxOccurs(String pMaxOccurs)
Specified by:
setMaxOccurs in interface XsAGOccurs

setMinOccurs

public void setMinOccurs(int pMinOccurs)
Specified by:
setMinOccurs in interface XsAGOccurs

setName

public void setName(XsNCName pName)
Specified by:
setName in interface XsAGDefRef

setRef

public void setRef(String pRef)
            throws SAXException

setRef

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