FileDocCategorySizeDatePackage
XSModelGroup.javaAPI DocApache Xerces 3.0.12334Fri Sep 14 20:33:54 BST 2007org.apache.xerces.xs

XSModelGroup

public interface XSModelGroup implements XSTerm
This interface represents the Model Group schema component.

Fields Summary
public static final short
COMPOSITOR_SEQUENCE
This constant value signifies a sequence operator.
public static final short
COMPOSITOR_CHOICE
This constant value signifies a choice operator.
public static final short
COMPOSITOR_ALL
This content model represents a simplified version of the SGML &-Connector and is limited to the top-level of any content model. No element in the all content model may appear more than once.
Constructors Summary
Methods Summary
public XSAnnotationgetAnnotation()
An annotation if it exists, otherwise null. If not null then the first [annotation] from the sequence of annotations.

public XSObjectListgetAnnotations()
A sequence of [annotations] or an empty XSObjectList.

public shortgetCompositor()
[compositor]: one of all, choice or sequence. The valid constant values are: COMPOSITOR_SEQUENCE, COMPOSITOR_CHOICE, COMPOSITOR_ALL.

public XSObjectListgetParticles()
A list of [particles] if it exists, otherwise an empty XSObjectList.