| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface of a model group. A model group is, for example,
 defined by an xs:group element, or by a complex type
 without simpleContent or complexContent.
| Nested Class Summary | |
| static class | XSModelGroup.Compositor | 
| Field Summary | |
| static XSModelGroup.Compositor | ALLThe all compositor. | 
| static XSModelGroup.Compositor | CHOICEThe choice compositor. | 
| static XSModelGroup.Compositor | SEQUENCEThe sequence compositor. | 
| Method Summary | |
|  XSModelGroup.Compositor | getCompositor()Returns the model groups compositor. | 
|  org.xml.sax.Locator | getLocator()Returns the model groups locator. | 
|  XSParticle[] | getParticles()Returns the model groups particles. | 
|  boolean | isAll()Shortcut for getCompositor().equals(ALL). | 
|  boolean | isChoice()Shortcut for getCompositor().equals(CHOICE). | 
|  boolean | isSequence()Shortcut for getCompositor().equals(SEQUENCE). | 
|  void | validate()Validates the particles contents. | 
| Field Detail | 
public static final XSModelGroup.Compositor SEQUENCE
The sequence compositor.
public static final XSModelGroup.Compositor CHOICE
The choice compositor.
public static final XSModelGroup.Compositor ALL
The all compositor.
| Method Detail | 
public XSModelGroup.Compositor getCompositor()
Returns the model groups compositor.
public boolean isSequence()
Shortcut for getCompositor().equals(SEQUENCE).
getCompositor(), 
SEQUENCEpublic boolean isChoice()
Shortcut for getCompositor().equals(CHOICE).
getCompositor(), 
CHOICEpublic boolean isAll()
Shortcut for getCompositor().equals(ALL).
getCompositor(), 
ALLpublic XSParticle[] getParticles()
Returns the model groups particles.
public org.xml.sax.Locator getLocator()
Returns the model groups locator.
public void validate()
              throws org.xml.sax.SAXException
Validates the particles contents.
org.xml.sax.SAXException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||