de.winterfish.nathan.model
Class NDocFactory
java.lang.Object
|
+--de.winterfish.nathan.model.NDocFactory
- All Implemented Interfaces:
- DataNodeFactory
- public class NDocFactory
- extends java.lang.Object
- implements DataNodeFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NDocFactory
public NDocFactory()
init
public void init(NeonGui gui)
- Specified by:
init
in interface DataNodeFactory
getRoot
public DataFolder getRoot()
- Specified by:
getRoot
in interface DataNodeFactory
generateChildren
public int generateChildren(DataFolder folder)
- Specified by:
generateChildren
in interface DataNodeFactory
createNewDataNode
public DataNode createNewDataNode(DataFolder folder)
- Specified by:
createNewDataNode
in interface DataNodeFactory
createNewNDoc
public NDoc createNewNDoc(NFolder folder,
java.lang.String name,
byte[] content,
byte[] original,
java.lang.String ext,
java.lang.String orgExt)
- This method must be called by all Transformers to create a new NDoc.
createNewFolder
public DataFolder createNewFolder(DataFolder folder,
java.lang.String name)
- Specified by:
createNewFolder
in interface DataNodeFactory
id2NDoc
public DataNode id2NDoc(long id)