|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.standards.asn.AsnStatement
public class AsnStatement
Encapsulates a single statement of an ASN Standards Document or ASN Resolver Response, which are represented as RDF elements, and exposes statement attributes as Strings and Lists. No resolution is performed on attributes that are expressed as ASN purl IDs, e.g., "juristiction" is exposed as "http://purl.org/ASN/scheme/ASNJurisdiction/CO" rather than as "Colorado".
Field Summary | |
---|---|
Element |
element
NOT YET DOCUMENTED |
Constructor Summary | |
---|---|
AsnStatement(Element e)
Constructor for the AsnStatement object |
Method Summary | |
---|---|
List |
getChildrenIDs()
Gets the childrenIDs attribute of the AsnStatement object |
String |
getDescription()
Gets the description attribute of the AsnStatement object |
Element |
getElement()
|
int |
getEndGradeLevel()
Gets the endGradeLevel attribute of the AsnStatement object |
String |
getGradeRange()
Gets the gradeRange attribute of the AsnStatement object as a String of the form, "<startGradeLevel>-<endGradeLevel>". |
String |
getId()
Gets the id attribute of the AsnStatement object |
String |
getParentId()
Gets the parentId attribute of the AsnStatement object |
int |
getStartGradeLevel()
Gets the startGradeLevel attribute of the AsnStatement 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 AsnStatement 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 AsnStatement object |
String |
getSubject()
Gets the subject attribute of the AsnStatement object |
void |
setDescription(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). |
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 AsnStatement(Element e)
e
- XML Element representing this node within a Standards Document in
XML formMethod Detail |
---|
public Element getElement()
public List getChildrenIDs()
public String getDescription()
public void setDescription(String s)
s
- The new description valuepublic String getSubject()
protected void setGradeLevels()
public int getStartGradeLevel()
public int getEndGradeLevel()
public String getId()
public String getParentId()
public String getGradeRange()
public String toString()
toString
in class Object
public 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 |