Class DynaStandardsManager
java.lang.Object
org.dlese.dpc.schemedit.standards.asn.AsnStandardsManager
org.dlese.dpc.schemedit.standards.asn.DynaStandardsManager
- All Implemented Interfaces:
StandardsManager
Manages a set of Standards Documents (e.g. all standards files within a
specified directory) as AsnStandardsDocuments instances and provides access
to Documents and Standards Nodes within the current Standards document.
- Author:
- ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionDynaStandardsManager(String xmlFormat, String xpath, File standardsDirectory, String defaultDocKey) Constructor for the DynaStandardsManager object, which reads all files within (recursively) the specified "standardsDirectory". -
Method Summary
Modifier and TypeMethodDescriptionGets the standardsDirectory attribute of the DynaStandardsManager objectvoidInitialize the standardsRegistry and availableDocs attributes for this Manager.static voidThe main program for the DynaStandardsManager classvoidreport()DebuggingMethods inherited from class org.dlese.dpc.schemedit.standards.asn.AsnStandardsManager
getAvailableDocs, getDefaultDocKey, getRendererTag, getStandardsRegistry, getXmlFormat, getXpath, setAvailableDocs, setDefaultDocKey, setXpath
-
Constructor Details
-
DynaStandardsManager
public DynaStandardsManager(String xmlFormat, String xpath, File standardsDirectory, String defaultDocKey) throws Exception Constructor for the DynaStandardsManager object, which reads all files within (recursively) the specified "standardsDirectory".- Parameters:
xmlFormat- format of framework for this helperxpath- xpath of instanceDoc to which standards are assignedstandardsDirectory- path to directory containing standardsDocsdefaultDocKey- as configured for this helper- Throws:
Exception- if AsnDocument files cannot be processed
-
-
Method Details
-
init
Initialize the standardsRegistry and availableDocs attributes for this Manager.- Overrides:
initin classAsnStandardsManager- Parameters:
standardsDirectory- directory holding standard docs- Throws:
Exception- if standards docs cannot be loaded into StandardsRegistry
-
getStandardsDirectory
Gets the standardsDirectory attribute of the DynaStandardsManager object- Returns:
- The standardsDirectory value
-
main
The main program for the DynaStandardsManager class- Parameters:
args- The command line arguments- Throws:
Exception
-
report
public void report()Debugging- Overrides:
reportin classAsnStandardsManager
-