org.sape.carbon.core.config.node
Class NestedConfigurationDocumentFactory
java.lang.Object
  |
  +--org.sape.carbon.core.config.node.NestedConfigurationDocumentFactory
- All Implemented Interfaces: 
- NodeFactory
- public class NestedConfigurationDocumentFactory- extends Object- implements NodeFactory
Factory for creating NestedConfigurationDocument nodes
 
 Note that this implementation of nested nodes can only be used in
 conjunction with nodes that extend the abstract classes found in this
 package. If you wish to provide an alternate set of Node implementations,
 you must provide an alternate nested node implementation as well (that is,
 if you wish to support nested nodes). This is mainly because of the
 synchronization mechanism used: nested nodes use their parent's lock objects
 to ensure the thread-safety of the overall document (i.e. the containing
 document plus all of its nested documents).
 Copyright 2002 Sapient
- Since:
- carbon 1.1
- Version:
- $Revision: 1.10 $($Author: dvoet $ / $Date: 2003/10/17 14:40:55 $)
- Author:
- Douglas Voet, Sep 13, 2002
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NestedConfigurationDocumentFactory
public NestedConfigurationDocumentFactory()
getInstance
public Node getInstance(Node parent,
                        String name)
                 throws NodeCreationException
- Description copied from interface: NodeFactory
- Constructs a Node.
 
- 
- Specified by:
- getInstancein interface- NodeFactory
 
- 
- Parameters:
- parent- the parent- Folderof the- Node.  Can be null only if the- Nodeis the root- Nodefor the- ConfigurationService
- name- the name of the- Node.  Cannot be null.
- Returns:
- Node the new Node
- Throws:
- NodeCreationException- if the- LinkNodecannot be
 created.
- See Also:
- NodeFactory.getInstance(Node, String)
 
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.