public interface

XSModelGroup

implements XSTerm
org.apache.xerces.xs.XSModelGroup
Known Indirect Subclasses

Class Overview

This interface represents the Model Group schema component.

Summary

Constants
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.
short COMPOSITOR_CHOICE This constant value signifies a choice operator.
short COMPOSITOR_SEQUENCE This constant value signifies a sequence operator.
Public Methods
abstract XSAnnotation getAnnotation()
An annotation if it exists, otherwise null.
abstract XSObjectList getAnnotations()
A sequence of [annotations] or an empty XSObjectList.
abstract short getCompositor()
[compositor]: one of all, choice or sequence.
abstract XSObjectList getParticles()
A list of [particles] if it exists, otherwise an empty XSObjectList.
[Expand]
Inherited Methods
From interface org.apache.xerces.xs.XSObject

Constants

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.

Constant Value: 3 (0x00000003)

public static final short COMPOSITOR_CHOICE

This constant value signifies a choice operator.

Constant Value: 2 (0x00000002)

public static final short COMPOSITOR_SEQUENCE

This constant value signifies a sequence operator.

Constant Value: 1 (0x00000001)

Public Methods

public abstract XSAnnotation getAnnotation ()

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

public abstract XSObjectList getAnnotations ()

A sequence of [annotations] or an empty XSObjectList.

public abstract short getCompositor ()

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

public abstract XSObjectList getParticles ()

A list of [particles] if it exists, otherwise an empty XSObjectList.