|
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.schemedit.standards.adn.AsnToAdnMapper
public class AsnToAdnMapper
Provides services for mapping between different standards formats, namely ASN and ADN (dlese), as well as convenience methods for translating between the different gradeRange representations.
Constructor Summary | |
---|---|
AsnToAdnMapper(String path)
Constructor for the AsnToAdnMapper object |
Method Summary | |
---|---|
String |
getAdnText(String asnId)
Gets the adnText corresponding to asnId |
String |
getAsfId(String adnText)
Given adnText, return asnId |
String |
getAsfText(String asnId)
Gets the asnText corresponding to asnId |
int |
getEndGrade(String gradeRange)
Gets the endGrade attribute of the AsnToAdnMapper object |
String |
getGradeRangeLabel(String gradeRangeValue)
Gets the label (for UI purposes) of a gradeRange value. |
Collection |
getGradeRanges()
Returns unordered set of registered gradeRanges represented as controlled DLESE vocab (e.g., "DLESE:Primary elementary") corresponding to the grades represented by ASF standards, namely, K-12. |
Collection |
getIds()
Returns unordered set containing all registered asnIds; |
File |
getSource()
|
int |
getStartGrade(String gradeRange)
Gets the startGrade attribute of the AsnToAdnMapper object |
static void |
main(String[] args)
The main program for the AsnToAdnMapper class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsnToAdnMapper(String path)
path
- path to xml file containing mappings from ansId to ansText and adnTextMethod Detail |
---|
public File getSource()
public String getAsfId(String adnText)
adnText
- NOT YET DOCUMENTED
public String getAsfText(String asnId)
asnId
- NOT YET DOCUMENTED
public String getAdnText(String asnId)
asnId
- NOT YET DOCUMENTED
public Collection getIds()
public static void main(String[] args)
args
- The command line argumentspublic Collection getGradeRanges()
public String getGradeRangeLabel(String gradeRangeValue)
gradeRangeValue
- NOT YET DOCUMENTED
public int getStartGrade(String gradeRange)
gradeRange
- NOT YET DOCUMENTED
public int getEndGrade(String gradeRange)
gradeRange
- NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |