Iterable<XSParticle>
, XSComponent
, XSTerm
ModelGroupImpl
public interface XSModelGroup extends XSComponent, XSTerm, Iterable<XSParticle>
Modifier and Type | Interface | Description |
---|---|---|
static class |
XSModelGroup.Compositor |
Type-safe enumeration for kind of model groups.
|
Modifier and Type | Field | Description |
---|---|---|
static XSModelGroup.Compositor |
ALL |
A constant that represents "all" compositor.
|
static XSModelGroup.Compositor |
CHOICE |
A constant that represents "choice" compositor.
|
static XSModelGroup.Compositor |
SEQUENCE |
A constant that represents "sequence" compositor.
|
Modifier and Type | Method | Description |
---|---|---|
XSParticle |
getChild(int idx) |
Gets i-ith child.
|
XSParticle[] |
getChildren() |
Gets all the children in one array.
|
XSModelGroup.Compositor |
getCompositor() |
|
int |
getSize() |
Gets the number of children.
|
forEach, iterator, spliterator
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
apply, apply, asElementDecl, asModelGroup, asModelGroupDecl, asWildcard, isElementDecl, isModelGroup, isModelGroupDecl, isWildcard, visit
static final XSModelGroup.Compositor ALL
static final XSModelGroup.Compositor SEQUENCE
static final XSModelGroup.Compositor CHOICE
XSModelGroup.Compositor getCompositor()
XSParticle getChild(int idx)
int getSize()
XSParticle[] getChildren()
Copyright © 2018 Oracle Corporation. All rights reserved.