Class AsnStandardsManager
java.lang.Object
org.dlese.dpc.schemedit.standards.asn.AsnStandardsManager
- All Implemented Interfaces:
StandardsManager
- Direct Known Subclasses:
DynaStandardsManager,ResQualStandardsManager
Provides acess to a single ASN Standards Document (and individual standards
contained within) via the AsnDocument and AsnNode classes. Provides lists of
AsnStandardsNodes for use in UI JSP.
- Author:
- ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionAsnStandardsManager(String xmlFormat, String xpath, File source) Constructor for the AsnStandardsManager object -
Method Summary
Modifier and TypeMethodDescriptionGets the availableDocs (avaliable ASN Standards Documents) attribute of the AsnStandardsManager objectGets the defaultDocKey attribute of the AsnStandardsManager objectGets the rendererTag attribute of the AsnStandardsManager objectGets the standardsRegistry attribute of the AsnStandardsManager objectGets the xpath attribute of the AsnStandardsManager objectgetXpath()Gets the xpath attribute of the AsnStandardsManager objectvoidInitialize the AsnStandardsManager by populating the standardsMap and tree from the provided AsnDocument file.voidreport()prints debugging information about this AsnStandardsManagervoidsetAvailableDocs(List docs) Sets the availableDocs attribute of the AsnStandardsManager objectvoidsetDefaultDocKey(String docKey) Sets the defaultDocKey attribute of the AsnStandardsManager objectprotected void
-
Constructor Details
-
AsnStandardsManager
Constructor for the AsnStandardsManager object- Parameters:
xmlFormat- format of framework for this standardsManagerxpath- field for which standards are managedsource- AsnDocument file- Throws:
Exception- if AsnDocument file cannot be processed
-
-
Method Details
-
init
Initialize the AsnStandardsManager by populating the standardsMap and tree from the provided AsnDocument file.- Parameters:
source- AsnDocument file- Throws:
Exception- if the source file cannot be processed
-
getStandardsRegistry
Gets the standardsRegistry attribute of the AsnStandardsManager object- Returns:
- The standardsRegistry value
-
getDefaultDocKey
Gets the defaultDocKey attribute of the AsnStandardsManager object- Returns:
- The defaultDocKey value
-
setDefaultDocKey
Sets the defaultDocKey attribute of the AsnStandardsManager object- Parameters:
docKey- The new defaultDocKey value
-
getAvailableDocs
Gets the availableDocs (avaliable ASN Standards Documents) attribute of the AsnStandardsManager object- Returns:
- The availableDocs value
-
setAvailableDocs
Sets the availableDocs attribute of the AsnStandardsManager object- Parameters:
docs- The new availableDocs value
-
getXmlFormat
Gets the xpath attribute of the AsnStandardsManager object- Specified by:
getXmlFormatin interfaceStandardsManager- Returns:
- The xpath value
-
getXpath
Gets the xpath attribute of the AsnStandardsManager object- Specified by:
getXpathin interfaceStandardsManager- Returns:
- The xpath value
-
setXpath
-
getRendererTag
Gets the rendererTag attribute of the AsnStandardsManager object- Specified by:
getRendererTagin interfaceStandardsManager- Returns:
- The rendererTag value
-
report
public void report()prints debugging information about this AsnStandardsManager
-