Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.ws.jaxme.xs.xml.impl
Class XsTGroupImpl  view XsTGroupImpl download XsTGroupImpl.java

java.lang.Object
  extended byorg.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended byorg.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended byorg.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended byorg.apache.ws.jaxme.xs.xml.impl.XsTGroupImpl
All Implemented Interfaces:
org.apache.ws.jaxme.xs.xml.XsAGDefRef, org.apache.ws.jaxme.xs.xml.XsAGOccurs, org.apache.ws.jaxme.xs.xml.XsGParticle, org.apache.ws.jaxme.xs.xml.XsObject, org.apache.ws.jaxme.xs.xml.XsTAnnotated, org.apache.ws.jaxme.xs.xml.XsTGroup, org.apache.ws.jaxme.xs.xml.XsTOpenAttrs
Direct Known Subclasses:
XsTExplicitGroupImpl, XsTRealGroupImpl

public class XsTGroupImpl
extends XsTAnnotatedImpl
implements org.apache.ws.jaxme.xs.xml.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>
 


Field Summary
private  org.apache.ws.jaxme.xs.xml.XsAGDefRef defRef
           
private  org.apache.ws.jaxme.xs.xml.XsAGOccurs occurs
           
private  org.apache.ws.jaxme.xs.xml.XsGParticle particle
           
 
Fields inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
 
Fields inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
 
Fields inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
 
Constructor Summary
protected XsTGroupImpl(org.apache.ws.jaxme.xs.xml.XsObject pParent)
           
 
Method Summary
 org.apache.ws.jaxme.xs.xml.XsTAll createAll()
           
 org.apache.ws.jaxme.xs.xml.XsEAny createAny()
           
 org.apache.ws.jaxme.xs.xml.XsEChoice createChoice()
           
 org.apache.ws.jaxme.xs.xml.XsTLocalElement createElement()
           
 org.apache.ws.jaxme.xs.xml.XsTGroupRef createGroup()
           
 org.apache.ws.jaxme.xs.xml.XsESequence createSequence()
           
 int getMaxOccurs()
          -1 for 'unbounded'
 int getMinOccurs()
           
 org.apache.ws.jaxme.xs.xml.XsNCName getName()
           
 org.apache.ws.jaxme.xs.xml.XsTParticle[] getParticles()
           
 org.apache.ws.jaxme.xs.xml.XsQName getRef()
           
 void setMaxOccurs(java.lang.String pMaxOccurs)
          Either of 'unbounded' or a nonnegative integer value.
 void setMinOccurs(int pMinOccurs)
           
 void setName(org.apache.ws.jaxme.xs.xml.XsNCName pName)
           
 void setRef(java.lang.String pRef)
           
 void setRef(org.apache.ws.jaxme.xs.xml.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
 
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, validate
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsAGDefRef
validate
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsAGOccurs
validate
 

Field Detail

defRef

private final org.apache.ws.jaxme.xs.xml.XsAGDefRef defRef

occurs

private final org.apache.ws.jaxme.xs.xml.XsAGOccurs occurs

particle

private final org.apache.ws.jaxme.xs.xml.XsGParticle particle
Constructor Detail

XsTGroupImpl

protected XsTGroupImpl(org.apache.ws.jaxme.xs.xml.XsObject pParent)
Method Detail

setName

public void setName(org.apache.ws.jaxme.xs.xml.XsNCName pName)
Specified by:
setName in interface org.apache.ws.jaxme.xs.xml.XsAGDefRef

getName

public org.apache.ws.jaxme.xs.xml.XsNCName getName()
Specified by:
getName in interface org.apache.ws.jaxme.xs.xml.XsAGDefRef

setRef

public void setRef(org.apache.ws.jaxme.xs.xml.XsQName pRef)
Specified by:
setRef in interface org.apache.ws.jaxme.xs.xml.XsAGDefRef

setRef

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

getRef

public org.apache.ws.jaxme.xs.xml.XsQName getRef()
Specified by:
getRef in interface org.apache.ws.jaxme.xs.xml.XsAGDefRef

setMaxOccurs

public void setMaxOccurs(java.lang.String pMaxOccurs)
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsAGOccurs

Either of 'unbounded' or a nonnegative integer value.

Specified by:
setMaxOccurs in interface org.apache.ws.jaxme.xs.xml.XsAGOccurs

getMaxOccurs

public int getMaxOccurs()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsAGOccurs

-1 for 'unbounded'

Specified by:
getMaxOccurs in interface org.apache.ws.jaxme.xs.xml.XsAGOccurs

setMinOccurs

public void setMinOccurs(int pMinOccurs)
Specified by:
setMinOccurs in interface org.apache.ws.jaxme.xs.xml.XsAGOccurs

getMinOccurs

public int getMinOccurs()
Specified by:
getMinOccurs in interface org.apache.ws.jaxme.xs.xml.XsAGOccurs

createElement

public org.apache.ws.jaxme.xs.xml.XsTLocalElement createElement()
Specified by:
createElement in interface org.apache.ws.jaxme.xs.xml.XsGParticle

createGroup

public org.apache.ws.jaxme.xs.xml.XsTGroupRef createGroup()
Specified by:
createGroup in interface org.apache.ws.jaxme.xs.xml.XsGParticle

createAll

public org.apache.ws.jaxme.xs.xml.XsTAll createAll()
Specified by:
createAll in interface org.apache.ws.jaxme.xs.xml.XsGParticle

createSequence

public org.apache.ws.jaxme.xs.xml.XsESequence createSequence()
Specified by:
createSequence in interface org.apache.ws.jaxme.xs.xml.XsGParticle

createChoice

public org.apache.ws.jaxme.xs.xml.XsEChoice createChoice()
Specified by:
createChoice in interface org.apache.ws.jaxme.xs.xml.XsGParticle

createAny

public org.apache.ws.jaxme.xs.xml.XsEAny createAny()
Specified by:
createAny in interface org.apache.ws.jaxme.xs.xml.XsGParticle

getParticles

public org.apache.ws.jaxme.xs.xml.XsTParticle[] getParticles()
Specified by:
getParticles in interface org.apache.ws.jaxme.xs.xml.XsGParticle