public class SuggestionServiceManager extends AbstractConfigReader
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.
Modifier and Type | Field and Description |
---|---|
protected static boolean |
debug
NOT YET DOCUMENTED
|
df, docMap, nameSpaceInfo, rootElementName, source, writeOnDestroy
Constructor and Description |
---|
SuggestionServiceManager(java.io.File source)
Constructor for the SuggestionServiceManager object, which reads a
configuration file and creates SuggestionServiceConfig instances for each
configured framework.
|
Modifier and Type | Method and Description |
---|---|
StandardsManager |
createStandardsManager(MetaDataFramework framework)
StandardsManager factory that uses a MetaDataFramework and a
SuggestionServiceConfig instance to create the appropriate instance.
|
SuggestionServiceConfig |
getConfig(java.lang.String xmlFormat)
Gets the configuration for the specified xmlFormat (framework)
|
java.util.Set |
getKeys()
Gets the xml_formats corresponding to the configured frameworks
|
boolean |
hasConfig(java.lang.String xmlFormat)
Returns true if the specified framework is configured.
|
static void |
main(java.lang.String[] args)
The main program for the SuggestionServiceManager class
|
protected static void |
prtln(java.lang.String s)
Print a line to standard out.
|
void |
report()
NOT YET DOCUMENTED
|
destroy, flush, getDelocalizedDoc, getDocMap, getDocument, getNode, getNodes, getNodeText, getSource, getSourcePath, refresh, setNodeText, setSource
public SuggestionServiceManager(java.io.File source) throws java.lang.Exception
source
- NOT YET DOCUMENTEDjava.lang.Exception
- NOT YET DOCUMENTEDpublic StandardsManager createStandardsManager(MetaDataFramework framework) throws java.lang.Exception
framework
- NOT YET DOCUMENTEDjava.lang.Exception
- NOT YET DOCUMENTEDpublic boolean hasConfig(java.lang.String xmlFormat)
xmlFormat
- NOT YET DOCUMENTEDpublic java.util.Set getKeys()
public SuggestionServiceConfig getConfig(java.lang.String xmlFormat)
xmlFormat
- NOT YET DOCUMENTEDpublic static void main(java.lang.String[] args)
args
- The command line argumentspublic void report()
protected static void prtln(java.lang.String s)
s
- The String to print.