DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.standards.adn
Class DleseStandardsDocument

java.lang.Object
  extended by org.dlese.dpc.schemedit.standards.adn.DleseStandardsDocument
All Implemented Interfaces:
StandardsDocument

public class DleseStandardsDocument
extends Object
implements StandardsDocument

StandardsDocument for the ADN Framework. Manages standards represented as ":"-delimited strings.

Author:
ostwald

Constructor Summary
DleseStandardsDocument(SchemaHelper schemaHelper, List dataTypeNames)
          Constructor for the DleseStandardsDocument object
DleseStandardsDocument(SchemaHelper schemaHelper, String dataTypeName)
          Constructor for the DleseStandardsDocument object
 
Method Summary
 void destroy()
          NOT YET DOCUMENTED
 String getAuthor()
          Returns "National Science Education Standards (NSES)"
 Map getLevelMap()
          Debugging method maps standards to their "level" (the number of colon-delimited fields in the vocabItem's textual representation.
 int getMaxNodes()
          Gets the maxNodes attribute of the DleseStandardsDocument object
 List getNodeList()
          Returns a flat list containing all DleseStandardsNodes in the standardsTree.
 DleseStandardsNode getRootNode()
          Gets the rootNode attribute of the StandardsDocument object
 DleseStandardsNode getStandard(String id)
          Get a StandardNode by id
 String getTopic()
          Returns "Science"
static void main(String[] args)
          The main program for the DleseStandardsDocument class
 void printNodeList()
          Description of the Method
 void printStandardsDocument()
          Walk down a hierarchical tree of DleseStandardsNodes and print an indented display
 void setMaxNodes(int max)
          Sets the maxNodes attribute of the DleseStandardsDocument object
 int size()
          NOT YET DOCUMENTED
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DleseStandardsDocument

public DleseStandardsDocument(SchemaHelper schemaHelper,
                              String dataTypeName)
                       throws Exception
Constructor for the DleseStandardsDocument object

Parameters:
schemaHelper - NOT YET DOCUMENTED
xpath - NOT YET DOCUMENTED
dataTypeName - NOT YET DOCUMENTED
Throws:
Exception - NOT YET DOCUMENTED

DleseStandardsDocument

public DleseStandardsDocument(SchemaHelper schemaHelper,
                              List dataTypeNames)
                       throws Exception
Constructor for the DleseStandardsDocument object

Parameters:
schemaHelper - NOT YET DOCUMENTED
xpath - NOT YET DOCUMENTED
dataTypeNames - NOT YET DOCUMENTED
Throws:
Exception - NOT YET DOCUMENTED
Method Detail

getAuthor

public String getAuthor()
Returns "National Science Education Standards (NSES)"

Specified by:
getAuthor in interface StandardsDocument
Returns:
The author value

getTopic

public String getTopic()
Returns "Science"

Specified by:
getTopic in interface StandardsDocument
Returns:
The topic value

getStandard

public DleseStandardsNode getStandard(String id)
Get a StandardNode by id

Specified by:
getStandard in interface StandardsDocument
Parameters:
id - NOT YET DOCUMENTED
Returns:
The standard value

getRootNode

public DleseStandardsNode getRootNode()
Description copied from interface: StandardsDocument
Gets the rootNode attribute of the StandardsDocument object

Specified by:
getRootNode in interface StandardsDocument
Returns:
The rootNode value

size

public int size()
NOT YET DOCUMENTED

Specified by:
size in interface StandardsDocument
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

public List getNodeList()
Returns a flat list containing all DleseStandardsNodes in the standardsTree.

Specified by:
getNodeList in interface StandardsDocument
Returns:
The nodeList value

printNodeList

public void printNodeList()
Description of the Method


getLevelMap

public Map 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

public static void main(String[] args)
The main program for the DleseStandardsDocument class

Parameters:
args - The command line arguments

destroy

public void destroy()
Description copied from interface: StandardsDocument
NOT YET DOCUMENTED

Specified by:
destroy in interface StandardsDocument

DLESE Tools
v1.6.0