gov.nasa.pds.citool
Class CIToolValidator

java.lang.Object
  extended by gov.nasa.pds.citool.CIToolValidator

public class CIToolValidator
extends Object


Constructor Summary
CIToolValidator(Report report)
           
CIToolValidator(Report report, List<URL> includePaths)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CIToolValidator

public CIToolValidator(Report report)

CIToolValidator

public CIToolValidator(Report report,
                       List<URL> includePaths)
Method Detail

parseDictionary

public gov.nasa.pds.tools.dict.Dictionary parseDictionary(List<String> dictionaries,
                                                          boolean aliasing)
                                                   throws URISyntaxException,
                                                          CIToolValidatorException
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


Copyright © 2010-2013 Planetary Data System. All Rights Reserved.