|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sape.carbon.core.config.node.file.AbstractFileConfigurationDocumentFactory
Base class for factories that construct
FileConfigurationDocument
s.
Copyright 2002 Sapient
Field Summary | |
private static ConfigurationFormatService |
FORMAT_SERVICE
Default formating service. |
Constructor Summary | |
AbstractFileConfigurationDocumentFactory()
|
Method Summary | |
protected ConfigurationFormatService |
getConfigurationFormatService()
Method that determines which ConfigurationFormatService will be used within the ConfigurationDocuments of the file package. |
protected abstract String |
getFileExtension()
Gets the file extension for the node being created by the factory. |
Node |
getInstance(Node parent,
String name)
Creates FileConfigurationDocument objects only as children of FileFolders. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final ConfigurationFormatService FORMAT_SERVICE
Constructor Detail |
public AbstractFileConfigurationDocumentFactory()
Method Detail |
public Node getInstance(Node parent, String name) throws NodeCreationException
getInstance
in interface NodeFactory
parent
- the parent node of this document factoryname
- name of the file to construct a document for
InvalidParameterException
- if parent is not
assignable from FileFolder
NodeCreationException
- indicates an error loading
the node from fileNodeFactory.getInstance(org.sape.carbon.core.config.node.Node, java.lang.String)
protected abstract String getFileExtension()
protected ConfigurationFormatService getConfigurationFormatService()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |