net.sf.jaxme.xs
Interface XSGroup

All Superinterfaces:
XSModelGroup, XSObject
All Known Subinterfaces:
JAXBGroup
All Known Implementing Classes:
JAXBGroupImpl, XSGroupImpl

public interface XSGroup
extends XSObject, XSModelGroup

Interface of a group.

Author:
Jochen Wiedmann

Nested Class Summary
 
Nested classes inherited from class net.sf.jaxme.xs.XSModelGroup
XSModelGroup.Compositor
 
Field Summary
 
Fields inherited from interface net.sf.jaxme.xs.XSModelGroup
ALL, CHOICE, SEQUENCE
 
Method Summary
 XSAnnotation[] getAnnotations()
          Returns the array of annotations.
 XsQName getName()
          If the group is global: Returns the groups name.
 boolean isGlobal()
          Returns whether the group is global or not.
 void setGlobal(boolean pGlobal)
          Sets whether the group is global or not.
 
Methods inherited from interface net.sf.jaxme.xs.XSObject
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate
 
Methods inherited from interface net.sf.jaxme.xs.XSModelGroup
getCompositor, getLocator, getParticles, isAll, isChoice, isSequence, validate
 

Method Detail

getAnnotations

public XSAnnotation[] getAnnotations()

Returns the array of annotations.


setGlobal

public void setGlobal(boolean pGlobal)

Sets whether the group is global or not.


isGlobal

public boolean isGlobal()

Returns whether the group is global or not.


getName

public XsQName getName()

If the group is global: Returns the groups name. Otherwise returns null.