public class AsnToAdnMapper
extends java.lang.Object
Constructor and Description |
---|
AsnToAdnMapper(java.lang.String path)
Constructor for the AsnToAdnMapper object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdnText(java.lang.String asnId)
Gets the adnText corresponding to asnId
|
java.lang.String |
getAsfId(java.lang.String adnText)
Given adnText, return asnId
|
java.lang.String |
getAsfText(java.lang.String asnId)
Gets the asnText corresponding to asnId
|
int |
getEndGrade(java.lang.String gradeRange)
Gets the endGrade attribute of the AsnToAdnMapper object
|
java.lang.String |
getGradeRangeLabel(java.lang.String gradeRangeValue)
Gets the label (for UI purposes) of a gradeRange value.
|
java.util.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.
|
java.util.Collection |
getIds()
Returns unordered set containing all registered asnIds;
|
java.io.File |
getSource() |
int |
getStartGrade(java.lang.String gradeRange)
Gets the startGrade attribute of the AsnToAdnMapper object
|
static void |
main(java.lang.String[] args)
The main program for the AsnToAdnMapper class
|
public AsnToAdnMapper(java.lang.String path)
path
- path to xml file containing mappings from ansId to ansText and adnTextpublic java.io.File getSource()
public java.lang.String getAsfId(java.lang.String adnText)
adnText
- NOT YET DOCUMENTEDpublic java.lang.String getAsfText(java.lang.String asnId)
asnId
- NOT YET DOCUMENTEDpublic java.lang.String getAdnText(java.lang.String asnId)
asnId
- NOT YET DOCUMENTEDpublic java.util.Collection getIds()
public static void main(java.lang.String[] args)
args
- The command line argumentspublic java.util.Collection getGradeRanges()
public java.lang.String getGradeRangeLabel(java.lang.String gradeRangeValue)
gradeRangeValue
- NOT YET DOCUMENTEDpublic int getStartGrade(java.lang.String gradeRange)
gradeRange
- NOT YET DOCUMENTEDpublic int getEndGrade(java.lang.String gradeRange)
gradeRange
- NOT YET DOCUMENTED