org.dlese.dpc.standards.commcore
Class RootStandard
java.lang.Object
org.dlese.dpc.standards.commcore.StdElement
org.dlese.dpc.standards.commcore.Standard
org.dlese.dpc.standards.commcore.RootStandard
public class RootStandard
- extends Standard
Root standard of the Sandards Document representing the top-most standard in
the hierarchy for the Document. Almost identical to the Standard, but
gets its text content from a different element.
- Author:
- Jonathan Ostwald
Method Summary |
List |
getAncestors()
Gets the ancestors (an empty list) of the AsnNode object |
String |
getDisplayText()
The textual content of this RootStandard |
int |
getLevel()
Gets the level attribute of the RootStandard object |
Methods inherited from class org.dlese.dpc.standards.commcore.StdElement |
getDescription, getEndGradeLevel, getGradeRange, getId, getItemText, getParentId, getStartGradeLevel, getSubElementText, getSubElementText, getSubElementText, getSubElementText, setItemText |
RootStandard
public RootStandard(Element e,
StdDocument stdDoc)
- Constructor for the RootStandard object
- Parameters:
e
- NOT YET DOCUMENTEDstdDoc
- Description of the Parameter
getLevel
public int getLevel()
- Gets the level attribute of the RootStandard object
- Overrides:
getLevel
in class Standard
- Returns:
- The level value
getDisplayText
public String getDisplayText()
- The textual content of this RootStandard
- Overrides:
getDisplayText
in class Standard
- Returns:
- The displayText value
getAncestors
public List getAncestors()
- Gets the ancestors (an empty list) of the AsnNode object
- Overrides:
getAncestors
in class Standard
- Returns:
- The ancestors value