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

Constructor Summary
FileFolderFactory()
           
 
Method Summary
 Node getInstance(Node parent, String name)
          Only creates sub folders of other FileFolders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFolderFactory

public FileFolderFactory()
Method Detail

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 created
name - 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.