org.apache.ws.jaxme.xs

Interface XSModelGroup

public interface XSModelGroup

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.

Author: Jochen Wiedmann

Nested Class Summary
static classXSModelGroup.Compositor
Field Summary
static XSModelGroup.CompositorALL

The all compositor.

static XSModelGroup.CompositorCHOICE

The choice compositor.

static XSModelGroup.CompositorSEQUENCE

The sequence compositor.

Method Summary
XSModelGroup.CompositorgetCompositor()

Returns the model groups compositor.

LocatorgetLocator()

Returns the model groups locator.

XSParticle[]getParticles()

Returns the model groups particles.

booleanisAll()

Shortcut for getCompositor().equals(ALL).

booleanisChoice()

Shortcut for getCompositor().equals(CHOICE).

booleanisSequence()

Shortcut for getCompositor().equals(SEQUENCE).

voidvalidate()

Validates the particles contents.

Field Detail

ALL

public static final XSModelGroup.Compositor ALL

The all compositor.

CHOICE

public static final XSModelGroup.Compositor CHOICE

The choice compositor.

SEQUENCE

public static final XSModelGroup.Compositor SEQUENCE

The sequence compositor.

Method Detail

getCompositor

public XSModelGroup.Compositor getCompositor()

Returns the model groups compositor.

getLocator

public Locator getLocator()

Returns the model groups locator.

getParticles

public XSParticle[] getParticles()

Returns the model groups particles.

isAll

public boolean isAll()

Shortcut for getCompositor().equals(ALL).

See Also: getCompositor ALL

isChoice

public boolean isChoice()

Shortcut for getCompositor().equals(CHOICE).

See Also: getCompositor CHOICE

isSequence

public boolean isSequence()

Shortcut for getCompositor().equals(SEQUENCE).

See Also: getCompositor SEQUENCE

validate

public void validate()

Validates the particles contents.