org.apache.xerces.impl.xs

Class XSModelGroupImpl

public class XSModelGroupImpl extends Object implements XSModelGroup

Store schema model group declaration.

Version: $Id: XSModelGroupImpl.java,v 1.10 2004/10/06 15:14:55 mrglavas Exp $

Author: Sandy Gao, IBM

UNKNOWN:

Field Summary
XSAnnotationImplfAnnotation
shortfCompositor
intfParticleCount
XSParticleDecl[]fParticles
static shortMODELGROUP_ALL
static shortMODELGROUP_CHOICE
static shortMODELGROUP_SEQUENCE
Method Summary
XSAnnotationgetAnnotation()
Optional.
shortgetCompositor()
{compositor} One of all, choice or sequence.
StringgetName()
The name of this XSObject depending on the XSObject type.
StringgetNamespace()
The namespace URI of this node, or null if it is unspecified. defines how a namespace URI is attached to schema components.
XSNamespaceItemgetNamespaceItem()
XSObjectListgetParticles()
{particles} A list of particles
shortgetType()
Get the type of the object, i.e ELEMENT_DECLARATION.
booleanisEmpty()
intmaxEffectiveTotalRange()
intminEffectiveTotalRange()
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.
voidreset()
StringtoString()

Field Detail

fAnnotation

public XSAnnotationImpl fAnnotation

fCompositor

public short fCompositor

fParticleCount

public int fParticleCount

fParticles

public XSParticleDecl[] fParticles

MODELGROUP_ALL

public static final short MODELGROUP_ALL

MODELGROUP_CHOICE

public static final short MODELGROUP_CHOICE

MODELGROUP_SEQUENCE

public static final short MODELGROUP_SEQUENCE

Method Detail

getAnnotation

public XSAnnotation getAnnotation()
Optional. Annotation.

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 XSNamespaceItem getNamespaceItem()

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

getParticles

public 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 © 1999-2005 Apache XML Project. All Rights Reserved.