public interface XSModelGroup extends XSComponent, XSTerm, Iterable<XSParticle>
Modifier and Type | Interface and Description |
---|---|
static class |
XSModelGroup.Compositor
Type-safe enumeration for kind of model groups.
|
Modifier and Type | Field and 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 and 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.
|
apply, apply, asElementDecl, asModelGroup, asModelGroupDecl, asWildcard, isElementDecl, isModelGroup, isModelGroupDecl, isWildcard, visit
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
forEach, iterator, spliterator
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 © 2021 JBoss by Red Hat. All rights reserved.