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

Class XsTExplicitGroupImpl

Implemented Interfaces:
XsAGDefRef, XsAGOccurs, XsGParticle, XsObject, XsTAnnotated, XsTExplicitGroup, XsTGroup, XsTOpenAttrs
Known Direct 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

XsTExplicitGroupImpl(XsObject pParent)

Method Summary

void
setName(XsNCName pName)
void
setRef(String pRef)
void
setRef(XsQName pRef)

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTGroupImpl

createAll, createAny, createChoice, createElement, createGroup, createSequence, getMaxOccurs, getMinOccurs, getName, getParticles, getRef, setMaxOccurs, setMinOccurs, setName, setRef, setRef

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

XsTExplicitGroupImpl

protected XsTExplicitGroupImpl(XsObject pParent)

Method Details

setName

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

setRef

public void setRef(String pRef)
            throws SAXException
Overrides:
setRef in interface XsTGroupImpl

setRef

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