Top Description Fields Methods
org.apache.xerces.xs

public Interface XSModelGroup

extends XSTerm
Known Direct Implementers
org.apache.xerces.impl.xs.XSModelGroupImpl

This interface represents the Model Group schema component.

Field Summary

Modifier and TypeField and Description
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.

public static final short
COMPOSITOR_CHOICE

This constant value signifies a choice operator.

public static final short
COMPOSITOR_SEQUENCE

This constant value signifies a sequence operator.

Method Summary

Modifier and TypeMethod and Description
public XSAnnotation
getAnnotation()

An annotation if it exists, otherwise null.

public XSObjectList
getAnnotations()

A sequence of [annotations] or an empty XSObjectList.

public short
getCompositor()

[compositor]: one of all, choice or sequence.

public XSObjectList
getParticles()

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

Field Detail

COMPOSITOR_ALLback to summary
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.

COMPOSITOR_CHOICEback to summary
public static final short COMPOSITOR_CHOICE

This constant value signifies a choice operator.

COMPOSITOR_SEQUENCEback to summary
public static final short COMPOSITOR_SEQUENCE

This constant value signifies a sequence operator.

Method Detail

getAnnotationback to summary
public XSAnnotation getAnnotation()

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

getAnnotationsback to summary
public XSObjectList getAnnotations()

A sequence of [annotations] or an empty XSObjectList.

getCompositorback to summary
public short getCompositor()

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

getParticlesback to summary
public XSObjectList getParticles()

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