org.apache.xerces.xs

Interface XSModelGroup

All Superinterfaces:
XSObject, XSTerm

public interface XSModelGroup
extends XSTerm

This interface represents the Model Group schema component.

Field Summary

static 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.
static short
COMPOSITOR_CHOICE
This constant value signifies a choice operator.
static short
COMPOSITOR_SEQUENCE
This constant value signifies a sequence operator.

Method Summary

XSAnnotation
getAnnotation()
An annotation if it exists, otherwise null.
XSObjectList
getAnnotations()
A sequence of [annotations] or an empty XSObjectList.
short
getCompositor()
[compositor]: one of all, choice or sequence.
XSObjectList
getParticles()
A list of [particles] if it exists, otherwise an empty XSObjectList.

Methods inherited from interface org.apache.xerces.xs.XSObject

getName, getNamespace, getNamespaceItem, getType

Field Details

COMPOSITOR_ALL

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.
Field Value:
3

COMPOSITOR_CHOICE

public static final short COMPOSITOR_CHOICE
This constant value signifies a choice operator.
Field Value:
2

COMPOSITOR_SEQUENCE

public static final short COMPOSITOR_SEQUENCE
This constant value signifies a sequence operator.
Field Value:
1

Method Details

getAnnotation

public XSAnnotation getAnnotation()
An annotation if it exists, otherwise null. If not null then the first [annotation] from the sequence of annotations.

getAnnotations

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

getCompositor

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

getParticles

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

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