gov.nasa.pds.validate
Class ReferentialIntegrityValidator

java.lang.Object
  extended by gov.nasa.pds.validate.ReferentialIntegrityValidator
All Implemented Interfaces:
gov.nasa.pds.tools.label.validate.DocumentValidator

public class ReferentialIntegrityValidator
extends Object
implements gov.nasa.pds.tools.label.validate.DocumentValidator

Class to perform referential integrity on the given document.

Author:
mcayanan

Constructor Summary
ReferentialIntegrityValidator()
           
 
Method Summary
 void clearSources()
           
 void setSources(Target target, boolean traverse, List<String> regExps)
           
 boolean validate(gov.nasa.pds.tools.label.ExceptionContainer container, net.sf.saxon.om.DocumentInfo xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferentialIntegrityValidator

public ReferentialIntegrityValidator()
Method Detail

validate

public boolean validate(gov.nasa.pds.tools.label.ExceptionContainer container,
                        net.sf.saxon.om.DocumentInfo xml)
Specified by:
validate in interface gov.nasa.pds.tools.label.validate.DocumentValidator

clearSources

public void clearSources()

setSources

public void setSources(Target target,
                       boolean traverse,
                       List<String> regExps)
                throws IOException,
                       Exception
Throws:
IOException
Exception


Copyright © 2010–2015 Planetary Data System. All rights reserved.