net.groboclown.xml.xdstates.v1
Interface ISet

All Superinterfaces:
IItem
All Known Implementing Classes:
SetX

public interface ISet
extends IItem

An interface that contains all the data associated with a Set in the tree.

The IItem toString() method must return a value similar to the contained IItem elements.

Version:
Alpha 0.9.0 - JDK 1.0+
Author:
Matt Albrecht

Method Summary
 ISet copy(ISet newParent)
           
 boolean doFireForEachIteration()
           
 IDataList fire(IDataList list)
          The given list is the list as passed down from the parent.
 IAttribute getAttribute(String name)
           
 IAttribute[] getAttributes()
           
 IItem[] getChildren()
           
 int getChildrenCount()
           
 ISet getParent()
           
 boolean hasNext()
          Determines if the set has another iteration.
 boolean hasParent()
           
 
Methods inherited from interface net.groboclown.xml.xdstates.v1.IItem
toString
 

Method Detail

getAttributes

public IAttribute[] getAttributes()

getAttribute

public IAttribute getAttribute(String name)

getParent

public ISet getParent()

getChildren

public IItem[] getChildren()

hasParent

public boolean hasParent()

getChildrenCount

public int getChildrenCount()

copy

public ISet copy(ISet newParent)

fire

public IDataList fire(IDataList list)
The given list is the list as passed down from the parent.

hasNext

public boolean hasNext()
Determines if the set has another iteration. See the other classes for how the rules for this are determined.

doFireForEachIteration

public boolean doFireForEachIteration()
Returns:
true if this set should fire at every iteration, regardless of its hasNext state.


Written under the LGPL