public class AsnStandardsDocument extends java.lang.Object implements StandardsDocument
AsnDocument and AsnStandard
classes. Provides lists of AsnStandardsNodes for use in UI JSP.| Constructor and Description |
|---|
AsnStandardsDocument(AsnDocument asnDoc)
Constructor for the AsnStandardsDocument object
|
AsnStandardsDocument(java.io.File source)
Constructor for the AsnStandardsDocument object
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
NOT YET DOCUMENTED
|
java.lang.String |
getAuthor()
Gets the author attribute of the AsnStandardsDocument object
|
java.lang.String |
getCreated()
Gets the created attribute of the AsnStandardsDocument object
|
java.lang.String |
getDocKey()
Gets the docKey attribute of the AsnStandardsDocument object
|
java.lang.String |
getId()
Gets the id attribute of the AsnStandardsDocument object
|
int |
getMaxNodes()
Gets the maxNodes attribute of the AsnStandardsDocument object
|
java.util.List |
getNodeList()
Returns a flat list containing all AsnStandardsNodes in the standardsTree.
|
java.lang.String |
getRendererTag()
Gets the rendererTag attribute of the AsnStandardsDocument object
|
AsnStandardsNode |
getRootNode()
Gets the rootNode attribute of the AsnStandardsDocument object
|
AsnStandardsNode |
getStandard(java.lang.String id)
Get a StandardNode by id
|
java.lang.String |
getTitle()
Gets the title attribute of the AsnStandardsDocument object
|
java.lang.String |
getTopic()
Gets the topic attribute of the AsnStandardsDocument object
|
void |
init(AsnDocument asnDoc)
Initialize the AsnStandardsDocument by populating the standardsMap and tree
|
static void |
main(java.lang.String[] args)
The main program for the AsnStandardsDocument class
|
void |
printNodeList()
Description of the Method
|
void |
printStandardsDocument()
Walk down a hierarchical tree of AsnStandardsNodes and print an indented
display
|
void |
setMaxNodes(int max)
Sets the maxNodes attribute of the AsnStandardsDocument object
|
int |
size()
NOT YET DOCUMENTED
|
public AsnStandardsDocument(java.io.File source)
throws java.lang.Exception
source - AsnDocument filejava.lang.Exception - if AsnDocument file cannot be processedpublic AsnStandardsDocument(AsnDocument asnDoc) throws java.lang.Exception
asnDoc - NOT YET DOCUMENTEDjava.lang.Exception - NOT YET DOCUMENTEDpublic void init(AsnDocument asnDoc) throws java.lang.Exception
asnDoc - NOT YET DOCUMENTEDjava.lang.Exception - NOT YET DOCUMENTEDpublic java.lang.String getId()
public java.lang.String getAuthor()
getAuthor in interface StandardsDocumentpublic java.lang.String getTopic()
getTopic in interface StandardsDocumentpublic java.lang.String getCreated()
public java.lang.String getTitle()
public java.lang.String getDocKey()
public java.lang.String getRendererTag()
public void setMaxNodes(int max)
max - The new maxNodes valuepublic int getMaxNodes()
public AsnStandardsNode getStandard(java.lang.String id)
getStandard in interface StandardsDocumentid - NOT YET DOCUMENTEDpublic AsnStandardsNode getRootNode()
getRootNode in interface StandardsDocumentpublic void printStandardsDocument()
public java.util.List getNodeList()
getNodeList in interface StandardsDocumentpublic void printNodeList()
public int size()
size in interface StandardsDocumentpublic static void main(java.lang.String[] args)
throws java.lang.Exception
args - The command line argumentsjava.lang.Exception - NOT YET DOCUMENTEDpublic void destroy()
destroy in interface StandardsDocument