public class

XSModelGroupImpl

extends Object
implements XSModelGroup
java.lang.Object
   ↳ org.apache.xerces.impl.xs.XSModelGroupImpl

Class Overview

Store schema model group declaration.

Summary

Constants
short MODELGROUP_ALL
short MODELGROUP_CHOICE
short MODELGROUP_SEQUENCE
[Expand]
Inherited Constants
From interface org.apache.xerces.xs.XSModelGroup
Fields
public XSObjectList fAnnotations
public short fCompositor
public int fParticleCount
public XSParticleDecl[] fParticles
Public Constructors
XSModelGroupImpl()
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.xerces.xs.XSModelGroup
From interface org.apache.xerces.xs.XSObject

Constants

public static final short MODELGROUP_ALL

Constant Value: 103 (0x00000067)

public static final short MODELGROUP_CHOICE

Constant Value: 101 (0x00000065)

public static final short MODELGROUP_SEQUENCE

Constant Value: 102 (0x00000066)

Fields

public XSObjectList fAnnotations

public short fCompositor

public int fParticleCount

public XSParticleDecl[] fParticles

Public Constructors

public XSModelGroupImpl ()

Public Methods

public XSAnnotation getAnnotation ()

Optional. Annotation.

public XSObjectList getAnnotations ()

Optional. Annotations.

public short getCompositor ()

{compositor} One of all, choice or sequence. The valid constants values are: ALL, CHOICE, SEQUENCE.

public String getName ()

The name of this XSObject depending on the XSObject type.

public String getNamespace ()

The namespace URI of this node, or null if it is unspecified. defines how a namespace URI is attached to schema components.

public XSNamespaceItem getNamespaceItem ()

A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; or null otherwise.

public XSObjectList getParticles ()

{particles} A list of particles

public short getType ()

Get the type of the object, i.e ELEMENT_DECLARATION.

public boolean isEmpty ()

public int maxEffectiveTotalRange ()

public 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. They are not exactly the same as it's described in the spec, but all the values from the spec are retrievable by these methods.

public void reset ()

public String toString ()