public class AsnStatement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
org.dom4j.Element |
element
NOT YET DOCUMENTED
|
Constructor and Description |
---|
AsnStatement(org.dom4j.Element e)
Constructor for the AsnStatement object
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getChildrenIDs()
Gets the childrenIDs attribute of the AsnStatement object
|
java.lang.String |
getDescription()
Gets the description attribute of the AsnStatement object
|
org.dom4j.Element |
getElement() |
int |
getEndGradeLevel()
Gets the endGradeLevel attribute of the AsnStatement object
|
java.lang.String |
getGradeRange()
Gets the gradeRange attribute of the AsnStatement object as a String of the form,
"<startGradeLevel>-<endGradeLevel>".
|
java.lang.String |
getId()
Gets the id attribute of the AsnStatement object
|
java.lang.String |
getParentId()
Gets the parentId attribute of the AsnStatement object
|
int |
getStartGradeLevel()
Gets the startGradeLevel attribute of the AsnStatement object
|
java.lang.String |
getSubElementResource(org.dom4j.Element e,
java.lang.String subElementName)
Gets the value of the resource attribute for the named subelement.
|
java.lang.String |
getSubElementResource(java.lang.String subElementName)
Gets the subElementResource attribute of the AsnStatement object
|
java.lang.String |
getSubElementText(org.dom4j.Element e,
java.lang.String subElementName)
Gets the textual content of the named subelement of provided element.
|
java.lang.String |
getSubElementText(java.lang.String subElementName)
Gets the subElementText attribute of the AsnStatement object
|
java.lang.String |
getSubject()
Gets the subject attribute of the AsnStatement object
|
void |
setDescription(java.lang.String s)
Sets the description attribute of the AsnStatement object
|
protected void |
setGradeLevels()
Sets the gradeLevels attribute of the AsnStatement 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).
|
java.lang.String |
toString()
NOT YET DOCUMENTED
|
public AsnStatement(org.dom4j.Element e)
e
- XML Element representing this node within a Standards Document in
XML formpublic org.dom4j.Element getElement()
public java.util.List getChildrenIDs()
public java.lang.String getDescription()
public void setDescription(java.lang.String s)
s
- The new description valuepublic java.lang.String getSubject()
protected void setGradeLevels()
public int getStartGradeLevel()
public int getEndGradeLevel()
public java.lang.String getId()
public java.lang.String getParentId()
public java.lang.String getGradeRange()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getSubElementText(java.lang.String subElementName)
subElementName
- NOT YET DOCUMENTEDpublic java.lang.String getSubElementText(org.dom4j.Element e, java.lang.String subElementName)
e
- element containing subelementsubElementName
- name of subelementpublic java.lang.String getSubElementResource(java.lang.String subElementName)
subElementName
- NOT YET DOCUMENTEDpublic java.lang.String getSubElementResource(org.dom4j.Element e, java.lang.String subElementName)
e
- element containing subelementsubElementName
- name of subelement