net.groboclown.xml.xdstates.v1
Class Factory
java.lang.Object
|
+--net.groboclown.xml.xdstates.v1.Factory
- public class Factory
- extends Object
The factory for generating data for modules.
- Version:
- Alpha 0.9.0 - JDK 1.0+
- Author:
- Matt Albrecht
Constructor Summary |
protected |
Factory()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
s_instance
protected static Factory s_instance
items
private HashMap items
Factory
protected Factory()
getInstance
public static Factory getInstance()
getLoader
public StateIteratorLoader getLoader()
createSet
public ISet createSet(IAttribute[] attr,
IItem[] items)
createSet
public ISet createSet(List attr,
List items)
createItem
public IItem createItem(String data)
createAttribute
public IAttribute createAttribute(String name,
String value,
IAttributeMap map)
createList
public IDataList createList(IDataList orig,
IItem[] items)
createList
public IDataList createList(IDataList orig,
List lists)
- The list contains elements which are either IDataList parts, or
IItem parts. This contatenates the lists together, and creates
a new IDataList with the parts from the orig, but the
items from the lists.
Written under the LGPL