|
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
public class AsnStd
Encapsulates basic properties of Asn Standards, such as "educationLevel", "subject", and "description". Does not provide information about the hierarchy of standards.
Used to process both ASN Standards Documents and responses from the ASN URI Resolver service.
| Field Summary | |
|---|---|
Element |
element
NOT YET DOCUMENTED |
| Constructor Summary | |
|---|---|
AsnStd(Element e)
Constructor for the AsnStd object |
|
| Method Summary | |
|---|---|
String |
getDescription()
Gets the description attribute of the AsnStd object |
int |
getEndGradeLevel()
Gets the endGradeLevel attribute of the AsnStd object |
String |
getGradeRange()
Gets the gradeRange attribute of the AsnStd object as a String of the form, "<startGradeLevel>-<endGradeLevel>". |
String |
getId()
Gets the id attribute of the AsnStd object |
String |
getItemText()
Gets the text attribute of the AsnStd object |
String |
getParentId()
Gets the parentId attribute of the AsnStd object |
int |
getStartGradeLevel()
Gets the startGradeLevel attribute of the AsnStd object |
String |
getSubElementResource(Element e,
String subElementName)
Gets the value of the resource attribute for the named subelement. |
String |
getSubElementResource(String subElementName)
Gets the subElementResource attribute of the AsnStd object |
String |
getSubElementText(Element e,
String subElementName)
Gets the textual content of the named subelement of provided element. |
String |
getSubElementText(String subElementName)
Gets the subElementText attribute of the AsnStd object |
String |
getSubject()
Gets the subject attribute of the AsnStd object |
protected void |
setGradeLevels()
Sets the gradeLevels attribute of the AsnStd object Grade levels are represented by purls (e.g, http://purl.org/ASN/scheme/ASNEducationLevel/4) from which we pluck the leaf (4 in this case). |
void |
setItemText(String s)
Sets the itemText attribute of the AsnStd object |
String |
toString()
NOT YET DOCUMENTED |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Element element
| Constructor Detail |
|---|
public AsnStd(Element e)
e - XML Element representing this node within a Standards Document in
XML form| Method Detail |
|---|
public String getDescription()
public String getSubject()
protected void setGradeLevels()
public int getStartGradeLevel()
public int getEndGradeLevel()
public String getId()
public String getParentId()
public String getItemText()
public void setItemText(String s)
s - The new itemText valuepublic String getGradeRange()
public String toString()
toString in class Objectpublic String getSubElementText(String subElementName)
subElementName - NOT YET DOCUMENTED
public String getSubElementText(Element e,
String subElementName)
e - element containing subelementsubElementName - name of subelement
public String getSubElementResource(String subElementName)
subElementName - NOT YET DOCUMENTED
public String getSubElementResource(Element e,
String subElementName)
e - element containing subelementsubElementName - name of subelement
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||