|
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.asn.AsnStd
org.dlese.dpc.standards.asn.AsnStandard
public class AsnStandard
Extends AsnStd to include hierarchy information, such as "children" and "ancestors"
| Field Summary | |
|---|---|
protected List |
ancestors
|
protected AsnDocument |
asnDoc
|
protected List |
children
|
| Fields inherited from class org.dlese.dpc.standards.asn.AsnStd |
|---|
element |
| Constructor Summary | |
|---|---|
AsnStandard(Element e,
AsnDocument asnDoc)
Constructor for the AsnStandard object given an XML Element and the containing AsnDocument instance; |
|
| Method Summary | |
|---|---|
protected void |
addChild(AsnStandard std)
Adds a Child to the AsnStandard object |
List |
getAncestors()
Gets the ancestors attribute of the AsnStandard object |
String |
getAuthor()
Gets the author attribute of the AsnStandard object |
List |
getChildren()
Returns children as AsnStandard 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 AsnStandard object |
int |
getLevel()
Gets the level attribute of the AsnStandard object |
AsnStandard |
getParentStandard()
Gets the parentStandard attribute of the AsnStandard object |
protected AsnStandard |
getStd(String id)
Gets the std attribute of the AsnStandard object |
String |
getTopic()
Gets the topic attribute of the AsnStandard object |
boolean |
isLeaf()
Returns true if the AsnStandard 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.asn.AsnStd |
|---|
getDescription, getEndGradeLevel, getGradeRange, getId, getItemText, getParentId, getStartGradeLevel, getSubElementResource, getSubElementResource, getSubElementText, getSubElementText, getSubject, setGradeLevels, setItemText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AsnDocument asnDoc
protected List children
protected List ancestors
| Constructor Detail |
|---|
public AsnStandard(Element e,
AsnDocument asnDoc)
e - the element defining the AsnStandardasnDoc - the Document containing this standard| Method Detail |
|---|
public String getDocumentIdentifier()
protected AsnStandard getStd(String id)
id - Description of the Parameter
public String getAuthor()
public String getTopic()
public boolean isLeaf()
public List getChildren()
protected void addChild(AsnStandard std)
std - The feature to be added to the Child attributepublic AsnStandard 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 AsnStd
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||