DLESE Tools
v1.6.0

org.dlese.dpc.standards.commcore
Class StdElement

java.lang.Object
  extended by org.dlese.dpc.standards.commcore.StdElement
Direct Known Subclasses:
Standard

public class StdElement
extends Object

Author:
Jonathan Ostwald

Field Summary
 Element element
          NOT YET DOCUMENTED
 
Constructor Summary
StdElement(Element e)
          Constructor for the StdElement object
 
Method Summary
 String getDescription()
          Gets the description attribute of the StdElement object
 int getEndGradeLevel()
           
 String getGradeRange()
           
 String getId()
          Gets the id attribute of the StdElement object
 String getItemText()
          Gets the text attribute of the StdElement object
 String getParentId()
          Gets the parentId attribute of the StdElement object
 int getStartGradeLevel()
           
 String getSubElementText(Element e, String subElementName)
           
 String getSubElementText(Element e, String subElementName, String defaultVal)
          Gets the textual content of the named subelement of provided element.
 String getSubElementText(String subElementName)
           
 String getSubElementText(String subElementName, String defaultVal)
          Gets the subElementText attribute of the StdElement object
protected  void setItemText(String text)
           
 String toString()
          NOT YET DOCUMENTED
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

element

public Element element
NOT YET DOCUMENTED

Constructor Detail

StdElement

public StdElement(Element e)
Constructor for the StdElement object

Parameters:
e - XML Element representing this node within a Standards Document in XML form
Method Detail

getDescription

public String getDescription()
Gets the description attribute of the StdElement object

Returns:
The description value

getId

public String getId()
Gets the id attribute of the StdElement object

Returns:
The id value

getParentId

public String getParentId()
Gets the parentId attribute of the StdElement object

Returns:
The parentId value

getItemText

public String getItemText()
Gets the text attribute of the StdElement object

Returns:
The text value

setItemText

protected void setItemText(String text)

toString

public String toString()
NOT YET DOCUMENTED

Overrides:
toString in class Object
Returns:
NOT YET DOCUMENTED

getEndGradeLevel

public int getEndGradeLevel()

getStartGradeLevel

public int getStartGradeLevel()

getGradeRange

public String getGradeRange()

getSubElementText

public String getSubElementText(String subElementName)

getSubElementText

public String getSubElementText(String subElementName,
                                String defaultVal)
Gets the subElementText attribute of the StdElement object

Parameters:
subElementName - NOT YET DOCUMENTED
Returns:
The subElementText value

getSubElementText

public String getSubElementText(Element e,
                                String subElementName)

getSubElementText

public String getSubElementText(Element e,
                                String subElementName,
                                String defaultVal)
Gets the textual content of the named subelement of provided element.

Parameters:
e - element containing subelement
subElementName - name of subelement
Returns:
the textual content of named subelement

DLESE Tools
v1.6.0