fr.tireme.schemadoc.SDSchema
Interface SDGroupContent

All Superinterfaces:
SDConcreteComponent
All Known Implementing Classes:
XSDModelGroupWrapp

public interface SDGroupContent
extends SDConcreteComponent

Author:
Mike Niemaz (niemaz@xrce.xerox.com)

Method Summary
 java.util.List getContents()
          Gets the content of this group content model.
 SDAnnotation getSchemaAnnotation()
          Returns the annotation on this group content model
 boolean isChoice()
          Indicates if this group content model is a choice
 boolean isEmpty()
          Gets the group emptyness
 boolean isSequence()
          Indicates if this group content model is a sequence
 
Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDConcreteComponent
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID
 

Method Detail

isSequence

boolean isSequence()
Indicates if this group content model is a sequence

Returns:
boolean - true if this group content model is a sequence

isChoice

boolean isChoice()
Indicates if this group content model is a choice

Returns:
boolean - true if this group content model is a choice

getContents

java.util.List getContents()
Gets the content of this group content model. Its value is stored and thus calculated only on the first call.

Returns:
List - an iterator of schemaParticles

isEmpty

boolean isEmpty()
Gets the group emptyness

Returns:
boolean - true if empty, false otherwise

getSchemaAnnotation

SDAnnotation getSchemaAnnotation()
Returns the annotation on this group content model

Returns:
SDAnnotation - The annotation, or null if there is no annotation.