net.groboclown.xml.xdstates.v1.impl
Class StateIteratorX

java.lang.Object
  |
  +--net.groboclown.xml.xdstates.v1.impl.StateIteratorX
All Implemented Interfaces:
IStateIterator

public class StateIteratorX
extends Object
implements IStateIterator

This class handles the loading of IXMLResource instances from an XML file. You can define a resource in the XML document by associating the "class" attribute with each tag. Its value specifies which class is used to instantiate the instance. Also, you may specify the "jarURL" attribute to tell the handler in which jar file the class definition can be found. If no jarURL attribute is given, then the class is loaded from the default class loader.

If no class is specified, then the tag is loaded as a DefaultXMLResource instance.

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

Field Summary
private  SetX root
           
 
Constructor Summary
StateIteratorX(SetX root)
           
 
Method Summary
 Properties getNext()
           
 Properties getNext(Properties prop)
           
 boolean hasNext()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

root

private SetX root
Constructor Detail

StateIteratorX

public StateIteratorX(SetX root)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface IStateIterator

getNext

public Properties getNext(Properties prop)
Specified by:
getNext in interface IStateIterator

getNext

public Properties getNext()
Specified by:
getNext in interface IStateIterator


Written under the LGPL