DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.standards.asn
Class AsnStandardsManager

java.lang.Object
  extended by org.dlese.dpc.schemedit.standards.asn.AsnStandardsManager
All Implemented Interfaces:
StandardsManager
Direct Known Subclasses:
DynaStandardsManager, ResQualStandardsManager

public class AsnStandardsManager
extends Object
implements StandardsManager

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
AsnStandardsManager(String xmlFormat, String xpath, File source)
          Constructor for the AsnStandardsManager object
 
Method Summary
 List getAvailableDocs()
           
 String getDefaultDocKey()
           
 String getRendererTag()
          Gets the rendererTag attribute of the AsnStandardsManager object
 StandardsRegistry getStandardsRegistry()
           
 String getXmlFormat()
          Gets the xpath attribute of the AsnStandardsManager object
 String getXpath()
          Gets the xpath attribute of the AsnStandardsManager object
 void init(File source)
          Initialize the AsnStandardsManager by populating the standardsMap and tree
 void report()
           
 void setAvailableDocs(List docs)
           
 void setDefaultDocKey(String docKey)
           
protected  void setXpath(String xpath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnStandardsManager

public AsnStandardsManager(String xmlFormat,
                           String xpath,
                           File source)
                    throws Exception
Constructor for the AsnStandardsManager object

Parameters:
schemaHelper - NOT YET DOCUMENTED
xpath - xpath of instanceDoc to which standards are assigned
source - AsnDocument file
Throws:
Exception - if AsnDocument file cannot be processed
Method Detail

init

public void init(File source)
          throws Exception
Initialize the AsnStandardsManager by populating the standardsMap and tree

Throws:
Exception - NOT YET DOCUMENTED

getStandardsRegistry

public StandardsRegistry getStandardsRegistry()

getDefaultDocKey

public String getDefaultDocKey()

setDefaultDocKey

public void setDefaultDocKey(String docKey)

getAvailableDocs

public List getAvailableDocs()

setAvailableDocs

public void setAvailableDocs(List docs)

getXmlFormat

public String getXmlFormat()
Gets the xpath attribute of the AsnStandardsManager object

Specified by:
getXmlFormat in interface StandardsManager
Returns:
The xpath value

getXpath

public String getXpath()
Gets the xpath attribute of the AsnStandardsManager object

Specified by:
getXpath in interface StandardsManager
Returns:
The xpath value

setXpath

protected void setXpath(String xpath)

getRendererTag

public String getRendererTag()
Gets the rendererTag attribute of the AsnStandardsManager object

Specified by:
getRendererTag in interface StandardsManager
Returns:
The rendererTag value

report

public void report()

DLESE Tools
v1.6.0