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