Class DleseStandardsDocument
java.lang.Object
org.dlese.dpc.schemedit.standards.adn.DleseStandardsDocument
- All Implemented Interfaces:
StandardsDocument
StandardsDocument for the ADN Framework. Manages standards represented as
":"-delimited strings.
- Author:
- ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionDleseStandardsDocument(SchemaHelper schemaHelper, String dataTypeName) Constructor for the DleseStandardsDocument objectDleseStandardsDocument(SchemaHelper schemaHelper, List dataTypeNames) Constructor for the DleseStandardsDocument object -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Set all data structures for this DleseStandardsDocument to nullReturns "National Science Education Standards (NSES)"Debugging method maps standards to their "level" (the number of colon-delimited fields in the vocabItem's textual representation.intGets the maxNodes attribute of the DleseStandardsDocument objectReturns a flat list containing all DleseStandardsNodes in the standardsTree.Gets the rootNode attribute of the StandardsDocument objectgetStandard(String id) Get a StandardNode by idgetTopic()Returns "Science"static voidThe main program for the DleseStandardsDocument classvoidDescription of the MethodvoidWalk down a hierarchical tree of DleseStandardsNodes and print an indented displayvoidsetMaxNodes(int max) Sets the maxNodes attribute of the DleseStandardsDocument objectintsize()NOT YET DOCUMENTED
-
Constructor Details
-
DleseStandardsDocument
Constructor for the DleseStandardsDocument object- Parameters:
schemaHelper- NOT YET DOCUMENTEDdataTypeName- NOT YET DOCUMENTEDxpath- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
DleseStandardsDocument
Constructor for the DleseStandardsDocument object- Parameters:
schemaHelper- NOT YET DOCUMENTEDdataTypeNames- NOT YET DOCUMENTEDxpath- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
-
Method Details
-
getAuthor
Returns "National Science Education Standards (NSES)"- Specified by:
getAuthorin interfaceStandardsDocument- Returns:
- The author value
-
getTopic
Returns "Science"- Specified by:
getTopicin interfaceStandardsDocument- Returns:
- The topic value
-
getStandard
Get a StandardNode by id- Specified by:
getStandardin interfaceStandardsDocument- Parameters:
id- NOT YET DOCUMENTED- Returns:
- The standard value
-
getRootNode
Description copied from interface:StandardsDocumentGets the rootNode attribute of the StandardsDocument object- Specified by:
getRootNodein interfaceStandardsDocument- Returns:
- The rootNode value
-
size
public int size()NOT YET DOCUMENTED- Specified by:
sizein interfaceStandardsDocument- Returns:
- NOT YET DOCUMENTED
-
setMaxNodes
public void setMaxNodes(int max) Sets the maxNodes attribute of the DleseStandardsDocument object- Parameters:
max- The new maxNodes value
-
getMaxNodes
public int getMaxNodes()Gets the maxNodes attribute of the DleseStandardsDocument object- Returns:
- The maxNodes value
-
printStandardsDocument
public void printStandardsDocument()Walk down a hierarchical tree of DleseStandardsNodes and print an indented display -
getNodeList
Returns a flat list containing all DleseStandardsNodes in the standardsTree.- Specified by:
getNodeListin interfaceStandardsDocument- Returns:
- The nodeList value
-
printNodeList
public void printNodeList()Description of the Method -
getLevelMap
Debugging method maps standards to their "level" (the number of colon-delimited fields in the vocabItem's textual representation.- Returns:
- The levelMap value
-
main
The main program for the DleseStandardsDocument class- Parameters:
args- The command line arguments
-
destroy
public void destroy()Set all data structures for this DleseStandardsDocument to null- Specified by:
destroyin interfaceStandardsDocument
-