Package gov.nasa.pds.citool
Class CIToolValidator
- java.lang.Object
-
- gov.nasa.pds.citool.CIToolValidator
-
public class CIToolValidator extends Object
-
-
Constructor Summary
Constructors Constructor Description CIToolValidator(Report report)
CIToolValidator(Report report, List<URL> includePaths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Report
doReferentialIntegrity(List<gov.nasa.pds.tools.label.Label> catalogs)
NewStandardValuesReport
findNewStandardValues(List<gov.nasa.pds.tools.label.Label> catalogs, gov.nasa.pds.tools.dict.Dictionary dictionary)
Finds new standard values in the given set of label files.gov.nasa.pds.tools.dict.Dictionary
parseDictionary(List<String> dictionaries, boolean aliasing)
void
setAllrefs(URL url)
void
validate(Target target, List<String> dictionaries, boolean recurse, boolean aliasing)
gov.nasa.pds.tools.label.Label
validate(URL url, gov.nasa.pds.tools.dict.Dictionary dictionary)
-
-
-
Method Detail
-
parseDictionary
public gov.nasa.pds.tools.dict.Dictionary parseDictionary(List<String> dictionaries, boolean aliasing) throws URISyntaxException, CIToolValidatorException
-
setAllrefs
public void setAllrefs(URL url)
-
doReferentialIntegrity
public Report doReferentialIntegrity(List<gov.nasa.pds.tools.label.Label> catalogs)
-
findNewStandardValues
public NewStandardValuesReport findNewStandardValues(List<gov.nasa.pds.tools.label.Label> catalogs, gov.nasa.pds.tools.dict.Dictionary dictionary)
Finds new standard values in the given set of label files.- Parameters:
catalogs
- A list of catalog files.dictionary
- A PDS data dictionary
-
validate
public void validate(Target target, List<String> dictionaries, boolean recurse, boolean aliasing) throws CIToolValidatorException
- Throws:
CIToolValidatorException
-
validate
public gov.nasa.pds.tools.label.Label validate(URL url, gov.nasa.pds.tools.dict.Dictionary dictionary) throws URISyntaxException
- Throws:
URISyntaxException
-
-