org.sape.carbon.core.config.node.file
Class FileFolderFactory
java.lang.Object
|
+--org.sape.carbon.core.config.node.file.FileFolderFactory
- All Implemented Interfaces:
- NodeFactory
- public class FileFolderFactory
- extends Object
- implements NodeFactory
Factory for creating folders nodes on a file system
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.17 $($Author: dvoet $ / $Date: 2003/05/05 21:21:19 $)
- Author:
- Douglas Voet, April 2002
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileFolderFactory
public FileFolderFactory()
getInstance
public Node getInstance(Node parent,
String name)
throws NodeCreationException
- Only creates sub folders of other FileFolders
- Specified by:
getInstance
in interface NodeFactory
- Parameters:
parent
- the parent node for the node being createdname
- the name of the node being created
- Returns:
- a newly constructed node
- Throws:
InvalidParameterException
- if parent is not assignable
from FileFolder
NodeCreationException
- indicates an error loading the node- See Also:
NodeFactory.getInstance(org.sape.carbon.core.config.node.Node, java.lang.String)
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.