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

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.XsTGroupImpl
                  extended bynet.sf.jaxme.xs.xml.impl.XsTExplicitGroupImpl
All Implemented Interfaces:
XsAGDefRef, XsAGOccurs, XsGParticle, XsObject, XsTAnnotated, XsTExplicitGroup, XsTGroup, XsTOpenAttrs
Direct Known Subclasses:
XsEChoiceImpl, XsESequenceImpl

public class XsTExplicitGroupImpl
extends XsTGroupImpl
implements XsTExplicitGroup

Implementation of the xs:explicitGroup type, as specified by the following:

  
    
      
        group type for the three kinds of group
      
    
    
      
        
          
          
        
        
        
      
    
  
 

Implementation note: This interface doesn't specify any additional methods. However, the implementations validate() method must ensure that

  1. neither of the 'name' or 'ref' attributes are set
  2. Either of the 'element', 'choice', 'sequence', 'any', or 'group' child elements is set, but not the 'all' element.

Author:
Jochen Wiedmann

Constructor Summary
protected XsTExplicitGroupImpl(XsObject pParent)
           
 
Method Summary
 void setName(XsNCName pName)
           
 void setRef(java.lang.String pRef)
           
 void setRef(XsQName pRef)
           
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTGroupImpl
createAll, createAny, createChoice, createElement, createGroup, createSequence, getMaxOccurs, getMinOccurs, getName, getParticles, getRef, setMaxOccurs, setMinOccurs
 
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, validate
 
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, validate
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsAGDefRef
getName, getRef, validate
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsAGOccurs
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs, validate
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsGParticle
createAll, createAny, createChoice, createElement, createGroup, createSequence, getParticles
 

Constructor Detail

XsTExplicitGroupImpl

protected XsTExplicitGroupImpl(XsObject pParent)
Method Detail

setName

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

setRef

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

setRef

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