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
name of this XSObject depending on the
XSObject type. |
String |
getNamespace()
The namespace URI of this node, or
null if it is
unspecified. |
XSNamespaceItem |
getNamespaceItem()
A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
null otherwise. |
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 XSObject
public short getCompositor()
getCompositor
in interface XSModelGroup
public XSObjectList getParticles()
getParticles
in interface XSModelGroup
public XSAnnotation getAnnotation()
getAnnotation
in interface XSModelGroup
public XSObjectList getAnnotations()
getAnnotations
in interface XSModelGroup
public XSNamespaceItem getNamespaceItem()
XSObject
null
otherwise.getNamespaceItem
in interface XSObject
XSObject.getNamespaceItem()
Copyright © 2016 JBoss by Red Hat. All rights reserved.