public class XSModelGroupImpl extends Object implements XSModelGroup
| Modifier and Type | Field and Description | 
|---|---|
| XSObjectList | fAnnotations | 
| short | fCompositor | 
| int | fParticleCount | 
| XSParticleDecl[] | fParticles | 
| static short | MODELGROUP_ALL | 
| static short | MODELGROUP_CHOICE | 
| static short | MODELGROUP_SEQUENCE | 
COMPOSITOR_ALL, COMPOSITOR_CHOICE, COMPOSITOR_SEQUENCE| Constructor and Description | 
|---|
| XSModelGroupImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| XSAnnotation | getAnnotation()Optional. | 
| XSObjectList | getAnnotations()Optional. | 
| short | getCompositor(){compositor} One of all, choice or sequence. | 
| String | getName()The  nameof thisXSObjectdepending on theXSObjecttype. | 
| String | getNamespace()The namespace URI of this node, or  nullif it is
 unspecified. | 
| XSNamespaceItem | getNamespaceItem()A namespace schema information item corresponding to the target 
 namespace of the component, if it is globally declared; or 
  nullotherwise. | 
| XSObjectList | getParticles(){particles} A list of particles | 
| short | getType()Get the type of the object, i.e ELEMENT_DECLARATION. | 
| boolean | isEmpty() | 
| int | maxEffectiveTotalRange() | 
| int | minEffectiveTotalRange()3.8.6 Effective Total Range (all and sequence) and
       Effective Total Range (choice)
 The following methods are used to return min/max range for a particle. | 
| void | reset() | 
| String | toString() | 
public static final short MODELGROUP_CHOICE
public static final short MODELGROUP_SEQUENCE
public static final short MODELGROUP_ALL
public short fCompositor
public XSParticleDecl[] fParticles
public int fParticleCount
public XSObjectList fAnnotations
public boolean isEmpty()
public int minEffectiveTotalRange()
public int maxEffectiveTotalRange()
public void reset()
public short getType()
public String getName()
name of this XSObject depending on the
 XSObject type.public String getNamespace()
null if it is
 unspecified.  defines how a namespace URI is attached to schema
 components.getNamespace in interface XSObjectpublic short getCompositor()
getCompositor in interface XSModelGrouppublic XSObjectList getParticles()
getParticles in interface XSModelGrouppublic XSAnnotation getAnnotation()
getAnnotation in interface XSModelGrouppublic XSObjectList getAnnotations()
getAnnotations in interface XSModelGrouppublic XSNamespaceItem getNamespaceItem()
XSObjectnull otherwise.getNamespaceItem in interface XSObjectXSObject.getNamespaceItem()Copyright © 2012 JBoss by Red Hat. All Rights Reserved.