|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.config.AbstractConfigReader org.dlese.dpc.schemedit.standards.config.SuggestionServiceManager
public class SuggestionServiceManager
Reads a SuggestionService configuration file and provides access to the
individual configurations (each corresponding to a MetaDataFramework). The
schema for the SuggestionService file is at
http://www.dls.ucar.edu/people/ostwald/Metadata/standardsService/standardsServiceConfig.xsd
createStandardsManager method is a factory that instantiates a StandardsManager instance for a particular framework.
SuggestionServiceManager is instantiated at startup by SetupServlet
and placed in the servletContext.
Field Summary | |
---|---|
protected static boolean |
debug
NOT YET DOCUMENTED |
Fields inherited from class org.dlese.dpc.schemedit.config.AbstractConfigReader |
---|
df, docMap, nameSpaceInfo, rootElementName, source, writeOnDestroy |
Constructor Summary | |
---|---|
SuggestionServiceManager(File source)
Constructor for the SuggestionServiceManager object, which reads a configuration file and creates SuggestionServiceConfig instances for each configured framework. |
Method Summary | |
---|---|
StandardsManager |
createStandardsManager(MetaDataFramework framework)
StandardsManager factory that uses a MetaDataFramework and a SuggestionServiceConfig instance to create the appropriate instance. |
SuggestionServiceConfig |
getConfig(String xmlFormat)
Gets the configuration for the specified xmlFormat (framework) |
Set |
getKeys()
Gets the xml_formats corresponding to the configured frameworks |
boolean |
hasConfig(String xmlFormat)
Returns true if the specified framework is configured. |
static void |
main(String[] args)
The main program for the SuggestionServiceManager class |
protected static void |
prtln(String s)
Print a line to standard out. |
void |
report()
NOT YET DOCUMENTED |
Methods inherited from class org.dlese.dpc.schemedit.config.AbstractConfigReader |
---|
destroy, flush, getDelocalizedDoc, getDocMap, getDocument, getNode, getNodes, getNodeText, getSource, getSourcePath, refresh, setNodeText, setSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static boolean debug
Constructor Detail |
---|
public SuggestionServiceManager(File source) throws Exception
source
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDMethod Detail |
---|
public StandardsManager createStandardsManager(MetaDataFramework framework) throws Exception
framework
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDpublic boolean hasConfig(String xmlFormat)
xmlFormat
- NOT YET DOCUMENTED
public Set getKeys()
public SuggestionServiceConfig getConfig(String xmlFormat)
xmlFormat
- NOT YET DOCUMENTED
public static void main(String[] args)
args
- The command line argumentspublic void report()
protected static void prtln(String s)
s
- The String to print.
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |