Class AsnStandardsDocument
java.lang.Object
org.dlese.dpc.schemedit.standards.asn.AsnStandardsDocument
- All Implemented Interfaces:
StandardsDocument
Provides acess to a single ASN Standards Document (and individual standards
contained within) via the
AsnDocument and AsnStandard
classes. Provides lists of AsnStandardsNodes for use in UI JSP.- Author:
- ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionAsnStandardsDocument(File source) Constructor for the AsnStandardsDocument objectAsnStandardsDocument(AsnDocument asnDoc) Constructor for the AsnStandardsDocument object -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()NOT YET DOCUMENTEDGets the author attribute of the AsnStandardsDocument objectGets the created attribute of the AsnStandardsDocument objectGets the docKey attribute of the AsnStandardsDocument objectgetId()Gets the id attribute of the AsnStandardsDocument objectintGets the maxNodes attribute of the AsnStandardsDocument objectReturns a flat list containing all AsnStandardsNodes in the standardsTree.Gets the rendererTag attribute of the AsnStandardsDocument objectGets the rootNode attribute of the AsnStandardsDocument objectgetStandard(String id) Get a StandardNode by idgetTitle()Gets the title attribute of the AsnStandardsDocument objectgetTopic()Gets the topic attribute of the AsnStandardsDocument objectvoidinit(AsnDocument asnDoc) Initialize the AsnStandardsDocument by populating the standardsMap and treestatic voidThe main program for the AsnStandardsDocument classvoidDescription of the MethodvoidWalk down a hierarchical tree of AsnStandardsNodes and print an indented displayvoidsetMaxNodes(int max) Sets the maxNodes attribute of the AsnStandardsDocument objectintsize()NOT YET DOCUMENTED
-
Constructor Details
-
AsnStandardsDocument
Constructor for the AsnStandardsDocument object- Parameters:
source- AsnDocument file- Throws:
Exception- if AsnDocument file cannot be processed
-
AsnStandardsDocument
Constructor for the AsnStandardsDocument object- Parameters:
asnDoc- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
-
Method Details
-
init
Initialize the AsnStandardsDocument by populating the standardsMap and tree- Parameters:
asnDoc- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
getId
Gets the id attribute of the AsnStandardsDocument object- Returns:
- The id value
-
getAuthor
Gets the author attribute of the AsnStandardsDocument object- Specified by:
getAuthorin interfaceStandardsDocument- Returns:
- The author value
-
getTopic
Gets the topic attribute of the AsnStandardsDocument object- Specified by:
getTopicin interfaceStandardsDocument- Returns:
- The topic value
-
getCreated
Gets the created attribute of the AsnStandardsDocument object- Returns:
- The created value
-
getTitle
Gets the title attribute of the AsnStandardsDocument object- Returns:
- The title value
-
getDocKey
Gets the docKey attribute of the AsnStandardsDocument object- Returns:
- The docKey value
-
getRendererTag
Gets the rendererTag attribute of the AsnStandardsDocument object- Returns:
- The rendererTag value
-
setMaxNodes
public void setMaxNodes(int max) Sets the maxNodes attribute of the AsnStandardsDocument object- Parameters:
max- The new maxNodes value
-
getMaxNodes
public int getMaxNodes()Gets the maxNodes attribute of the AsnStandardsDocument object- Returns:
- The maxNodes value
-
getStandard
Get a StandardNode by id- Specified by:
getStandardin interfaceStandardsDocument- Parameters:
id- NOT YET DOCUMENTED- Returns:
- The standard value
-
getRootNode
Gets the rootNode attribute of the AsnStandardsDocument object- Specified by:
getRootNodein interfaceStandardsDocument- Returns:
- The rootNode value
-
printStandardsDocument
public void printStandardsDocument()Walk down a hierarchical tree of AsnStandardsNodes and print an indented display -
getNodeList
Returns a flat list containing all AsnStandardsNodes in the standardsTree.- Specified by:
getNodeListin interfaceStandardsDocument- Returns:
- The nodeList value
-
printNodeList
public void printNodeList()Description of the Method -
size
public int size()NOT YET DOCUMENTED- Specified by:
sizein interfaceStandardsDocument- Returns:
- NOT YET DOCUMENTED
-
main
The main program for the AsnStandardsDocument class- Parameters:
args- The command line arguments- Throws:
Exception- NOT YET DOCUMENTED
-
destroy
public void destroy()NOT YET DOCUMENTED- Specified by:
destroyin interfaceStandardsDocument
-