Class DleseStandardsDocument

java.lang.Object
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 Details

    • DleseStandardsDocument

      public DleseStandardsDocument(SchemaHelper schemaHelper, String dataTypeName) throws Exception
      Constructor for the DleseStandardsDocument object
      Parameters:
      schemaHelper - NOT YET DOCUMENTED
      dataTypeName - NOT YET DOCUMENTED
      xpath - 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
      dataTypeNames - NOT YET DOCUMENTED
      xpath - NOT YET DOCUMENTED
      Throws:
      Exception - NOT YET DOCUMENTED
  • Method Details

    • 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()
      Set all data structures for this DleseStandardsDocument to null
      Specified by:
      destroy in interface StandardsDocument