Package org.dlese.dpc.standards.commcore
Class StdElement
java.lang.Object
org.dlese.dpc.standards.commcore.StdElement
- Direct Known Subclasses:
Standard
- Author:
- Jonathan Ostwald
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the description attribute of the StdElement objectintgetId()Gets the id attribute of the StdElement objectGets the text attribute of the StdElement objectGets the parentId attribute of the StdElement objectintgetSubElementText(String subElementName) getSubElementText(String subElementName, String defaultVal) Gets the subElementText attribute of the StdElement objectgetSubElementText(org.dom4j.Element e, String subElementName) getSubElementText(org.dom4j.Element e, String subElementName, String defaultVal) Gets the textual content of the named subelement of provided element.protected voidsetItemText(String text) toString()NOT YET DOCUMENTED
-
Field Details
-
element
public org.dom4j.Element elementNOT YET DOCUMENTED
-
-
Constructor Details
-
StdElement
public StdElement(org.dom4j.Element e) Constructor for the StdElement object- Parameters:
e- XML Element representing this node within a Standards Document in XML form
-
-
Method Details
-
getDescription
Gets the description attribute of the StdElement object- Returns:
- The description value
-
getId
Gets the id attribute of the StdElement object- Returns:
- The id value
-
getParentId
Gets the parentId attribute of the StdElement object- Returns:
- The parentId value
-
getItemText
Gets the text attribute of the StdElement object- Returns:
- The text value
-
setItemText
-
toString
NOT YET DOCUMENTED -
getEndGradeLevel
public int getEndGradeLevel() -
getStartGradeLevel
public int getStartGradeLevel() -
getGradeRange
-
getSubElementText
-
getSubElementText
Gets the subElementText attribute of the StdElement object- Parameters:
subElementName- NOT YET DOCUMENTED- Returns:
- The subElementText value
-
getSubElementText
-
getSubElementText
Gets the textual content of the named subelement of provided element.- Parameters:
e- element containing subelementsubElementName- name of subelement- Returns:
- the textual content of named subelement
-