|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sape.carbon.services.config.jar.AbstractJarConfigurationDocumentFactory
Base class for factories that construct
JarConfigurationDocument
s.
Copyright 2002 Sapient
Field Summary | |
private static ConfigurationFormatService |
FORMAT_SERVICE
holds a reference to the format service. |
Constructor Summary | |
AbstractJarConfigurationDocumentFactory()
|
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 AbstractJarConfigurationDocumentFactory()
Method Detail |
public Node getInstance(Node parent, String name) throws NodeCreationException
getInstance
in interface NodeFactory
parent
- the parent of the nodename
- the name of the node
InvalidParameterException
- if parent is not
assignable from FileFolder
NodeCreationException
- indicates an error creating the nodeNodeFactory.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 |