public class GroupNode extends WithGroupOrUnitNode implements IGroupOrUnitNode, IWithGroupOrUnitNode
| Constructor and Description |
|---|
GroupNode(GroupNode parent,
StartGroupData data)
Creates a new
GroupNode object with a given StartGroupData resource and parent. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Event> |
createEventIterator(java.util.Stack<URIContext> uriContext)
Creates an iterator for the events in this group node.
|
StartGroupData |
get()
Gets the
StartGroupData resource for this group node. |
GroupNode |
getParent()
Gets the parent for this group node.
|
boolean |
isUnit()
Indicates if this node is a UnitNode.
|
add, add, addGroupNode, addUnitNode, createGroupOrUnitIterator, getGroupNode, getUnitNode, getUnitNodesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, addGroupNode, addUnitNode, createGroupOrUnitIterator, getGroupNode, getUnitNode, getUnitNodespublic GroupNode(GroupNode parent, StartGroupData data)
GroupNode object with a given StartGroupData resource and parent.parent - the parent of this new group node (use null for top-level groups).data - the data for this new group node.public StartGroupData get()
StartGroupData resource for this group node.public boolean isUnit()
IGroupOrUnitNodeisUnit in interface IGroupOrUnitNodepublic GroupNode getParent()
public java.util.Iterator<Event> createEventIterator(java.util.Stack<URIContext> uriContext)
uriContext - the URI context.