org.apache.xerces.xs
Interface XSModelGroup
- XSObject, XSTerm
public interface XSModelGroup
This interface represents the Model Group schema component.
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.
|
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.
COMPOSITOR_CHOICE
public static final short COMPOSITOR_CHOICE
This constant value signifies a choice operator.
COMPOSITOR_SEQUENCE
public static final short COMPOSITOR_SEQUENCE
This constant value signifies a sequence operator.
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 © 1999-2007 The Apache Software Foundation. All Rights Reserved.