Package 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
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
-
Field Summary
Fields inherited from class org.dlese.dpc.standards.commcore.StdElement
element -
Constructor Summary
ConstructorsConstructorDescriptionRootStandard(org.dom4j.Element e, StdDocument stdDoc) Constructor for the RootStandard object -
Method Summary
Modifier and TypeMethodDescriptionGets the ancestors (an empty list) of the AsnNode objectThe textual content of this RootStandardintgetLevel()Gets the level attribute of the RootStandard objectMethods inherited from class org.dlese.dpc.standards.commcore.Standard
addChild, getAuthor, getChildren, getDocumentIdentifier, getParentStandard, getStd, getTopic, isLeaf, removeEntityRefs, toStringMethods inherited from class org.dlese.dpc.standards.commcore.StdElement
getDescription, getEndGradeLevel, getGradeRange, getId, getItemText, getParentId, getStartGradeLevel, getSubElementText, getSubElementText, getSubElementText, getSubElementText, setItemText
-
Constructor Details
-
RootStandard
Constructor for the RootStandard object- Parameters:
e- NOT YET DOCUMENTEDstdDoc- Description of the Parameter
-
-
Method Details
-
getLevel
public int getLevel()Gets the level attribute of the RootStandard object -
getDisplayText
The textual content of this RootStandard- Overrides:
getDisplayTextin classStandard- Returns:
- The displayText value
-
getAncestors
Gets the ancestors (an empty list) of the AsnNode object- Overrides:
getAncestorsin classStandard- Returns:
- The ancestors value
-