|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.framework.configuration.impl.MultiConfigurationIterator
public class MultiConfigurationIterator
This class provides an Iterator over multiple Configurations.
| Constructor Summary | |
|---|---|
MultiConfigurationIterator(Configuration[] theConfigs,
java.lang.String theKey)
Creates a new object. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
Configuration |
next()
Returns the next element in the iteration. |
void |
remove()
This operation is not supported and leads to an exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiConfigurationIterator(Configuration[] theConfigs,
java.lang.String theKey)
throws ConfigurationException
theConfigs - the array of configurations to combinetheKey - the name of the sub-configuration
ConfigurationException - in case of an error in a sub-iterator| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<Configuration>Iterator.hasNext()public Configuration next()
next in interface java.util.Iterator<Configuration>java.util.NoSuchElementException - iteration has no more elements.Iterator.next()public void remove()
remove in interface java.util.Iterator<Configuration>Iterator.remove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||