Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.impl.xs

public Class XSModelGroupImpl

extends Object
implements XSModelGroup
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.xerces.internal.xs.XSModelGroup, com.sun.org.apache.xerces.internal.xs.XSTerm, com.sun.org.apache.xerces.internal.xs.XSObject
Imports
com.sun.org.apache.xerces.internal.impl.xs.util.XSObjectListImpl, com.sun.org.apache.xerces.internal.xs.XSAnnotation, .XSConstants, .XSModelGroup, .XSNamespaceItem, .XSObjectList

Store schema model group declaration.
Author
Sandy Gao, IBM

Field Summary

Modifier and TypeField and Description
public XSObjectList
public short
private String
fDescription

get the string description of this particle

public int
public XSParticleDecl[]
public static final short
public static final short
public static final short

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XSAnnotation
public XSObjectList
public short
getCompositor()

Implements com.sun.org.apache.xerces.internal.xs.XSModelGroup.getCompositor.

{compositor} One of all, choice or sequence.

public String
getName()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getName.

The name of this XSObject depending on the XSObject type.

public String
getNamespace()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getNamespace.

The namespace URI of this node, or null if it is unspecified.

public XSNamespaceItem
getNamespaceItem()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getNamespaceItem.

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

public XSObjectList
public short
getType()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getType.

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

public boolean
public int
private int
private int
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.

private int
private int
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

fAnnotationsback to summary
public XSObjectList fAnnotations
fCompositorback to summary
public short fCompositor
fDescriptionback to summary
private String fDescription

get the string description of this particle

fParticleCountback to summary
public int fParticleCount
fParticlesback to summary
public XSParticleDecl[] fParticles
MODELGROUP_ALLback to summary
public static final short MODELGROUP_ALL
MODELGROUP_CHOICEback to summary
public static final short MODELGROUP_CHOICE
MODELGROUP_SEQUENCEback to summary
public static final short MODELGROUP_SEQUENCE

Constructor Detail

XSModelGroupImplback to summary
public XSModelGroupImpl()

Method Detail

getAnnotationback to summary
public XSAnnotation getAnnotation()

Implements com.sun.org.apache.xerces.internal.xs.XSModelGroup.getAnnotation.

Optional. Annotation.

getAnnotationsback to summary
public XSObjectList getAnnotations()

Implements com.sun.org.apache.xerces.internal.xs.XSModelGroup.getAnnotations.

Optional. Annotations.

getCompositorback to summary
public short getCompositor()

Implements com.sun.org.apache.xerces.internal.xs.XSModelGroup.getCompositor.

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

getNameback to summary
public String getName()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getName.

The name of this XSObject depending on the XSObject type.

getNamespaceback to summary
public String getNamespace()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getNamespace.

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

getNamespaceItemback to summary
public XSNamespaceItem getNamespaceItem()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getNamespaceItem.

Doc from com.sun.org.apache.xerces.internal.xs.XSObject.getNamespaceItem.

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

See Also
org.apache.xerces.xs.XSObject#getNamespaceItem()
getParticlesback to summary
public XSObjectList getParticles()

Implements com.sun.org.apache.xerces.internal.xs.XSModelGroup.getParticles.

{particles} A list of particles

getTypeback to summary
public short getType()

Implements com.sun.org.apache.xerces.internal.xs.XSObject.getType.

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

isEmptyback to summary
public boolean isEmpty()
maxEffectiveTotalRangeback to summary
public int maxEffectiveTotalRange()
maxEffectiveTotalRangeAllSeqback to summary
private int maxEffectiveTotalRangeAllSeq()
maxEffectiveTotalRangeChoiceback to summary
private int maxEffectiveTotalRangeChoice()
minEffectiveTotalRangeback to summary
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.

minEffectiveTotalRangeAllSeqback to summary
private int minEffectiveTotalRangeAllSeq()
minEffectiveTotalRangeChoiceback to summary
private int minEffectiveTotalRangeChoice()
resetback to summary
public void reset()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object