|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.standards.commcore.StdElement
org.dlese.dpc.standards.commcore.Standard
public class Standard
Extends StdElement to include hierarchy information, such as "children" and "ancestors"
| Field Summary | |
|---|---|
protected List |
ancestors
|
protected List |
children
|
protected StdDocument |
stdDoc
|
| Fields inherited from class org.dlese.dpc.standards.commcore.StdElement |
|---|
element |
| Constructor Summary | |
|---|---|
Standard(Element e,
StdDocument stdDoc)
Constructor for the Standard object given an XML Element and the containing StdDocument instance; |
|
| Method Summary | |
|---|---|
protected void |
addChild(Standard std)
Adds a Child to the Standard object |
List |
getAncestors()
Gets an ordered list of ancestors from root to this standard's parent |
String |
getAuthor()
Gets the author attribute of the Standard object |
List |
getChildren()
Returns children as Standard instances in same order as the XML Element defining this Standard |
String |
getDisplayText()
Walk the ancestor list, adding text from each node |
String |
getDocumentIdentifier()
Gets the documentIdentifier attribute of the Standard object |
int |
getLevel()
Gets the level attribute of the Standard object |
Standard |
getParentStandard()
Gets the parentStandard attribute of the Standard object |
protected Standard |
getStd(String id)
Gets the std attribute of the Standard object |
String |
getTopic()
Gets the topic attribute of the Standard object |
boolean |
isLeaf()
Returns true if the Standard object is a leaf |
static String |
removeEntityRefs(String in)
Removes entityRefs from the provided string |
String |
toString()
NOT YET DOCUMENTED |
| Methods inherited from class org.dlese.dpc.standards.commcore.StdElement |
|---|
getDescription, getEndGradeLevel, getGradeRange, getId, getItemText, getParentId, getStartGradeLevel, getSubElementText, getSubElementText, getSubElementText, getSubElementText, setItemText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected StdDocument stdDoc
protected List children
protected List ancestors
| Constructor Detail |
|---|
public Standard(Element e,
StdDocument stdDoc)
e - the element defining the StandardstdDoc - the Document containing this standard| Method Detail |
|---|
public String getDocumentIdentifier()
protected Standard getStd(String id)
id - Description of the Parameter
public String getAuthor()
public String getTopic()
public boolean isLeaf()
public List getChildren()
protected void addChild(Standard std)
std - The feature to be added to the Child attributepublic Standard getParentStandard()
public static String removeEntityRefs(String in)
in - input string
public String getDisplayText()
public List getAncestors()
public int getLevel()
public String toString()
toString in class StdElement
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||