org.apache.xerces.impl.xs

Class XSModelGroupImpl

Implemented Interfaces:
org.apache.xerces.xs.XSModelGroup

public class XSModelGroupImpl
extends java.lang.Object
implements org.apache.xerces.xs.XSModelGroup

Store schema model group declaration.
Version:
$Id: XSModelGroupImpl.java 388853 2006-03-25 23:05:56Z mrglavas $
Author:
Sandy Gao, IBM

Field Summary

static short
MODELGROUP_ALL
static short
MODELGROUP_CHOICE
static short
MODELGROUP_SEQUENCE
org.apache.xerces.xs.XSObjectList
fAnnotations
short
fCompositor
int
fParticleCount
XSParticleDecl[]
fParticles

Method Summary

org.apache.xerces.xs.XSAnnotation
getAnnotation()
Optional.
org.apache.xerces.xs.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.
org.apache.xerces.xs.XSNamespaceItem
getNamespaceItem()
org.apache.xerces.xs.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()

Field Details

MODELGROUP_ALL

public static final short MODELGROUP_ALL
Field Value:
103

MODELGROUP_CHOICE

public static final short MODELGROUP_CHOICE
Field Value:
101

MODELGROUP_SEQUENCE

public static final short MODELGROUP_SEQUENCE
Field Value:
102

fAnnotations

public org.apache.xerces.xs.XSObjectList fAnnotations

fCompositor

public short fCompositor

fParticleCount

public int fParticleCount

fParticles

public XSParticleDecl[] fParticles

Method Details

getAnnotation

public org.apache.xerces.xs.XSAnnotation getAnnotation()
Optional. Annotation.

getAnnotations

public org.apache.xerces.xs.XSObjectList getAnnotations()
Optional. Annotations.

getCompositor

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

getName

public String getName()
The name of this XSObject depending on the XSObject type.

getNamespace

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.

getNamespaceItem

public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
See Also:
org.apache.xerces.xs.XSObject.getNamespaceItem()

getParticles

public org.apache.xerces.xs.XSObjectList getParticles()
{particles} A list of particles

getType

public short getType()
Get the type of the object, i.e ELEMENT_DECLARATION.

isEmpty

public boolean isEmpty()

maxEffectiveTotalRange

public int maxEffectiveTotalRange()

minEffectiveTotalRange

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.

reset

public void reset()

toString

public String toString()

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.