org.deegree.tools.metadata
Class InspireValidator
java.lang.Object
  
org.deegree.tools.metadata.InspireValidator
public class InspireValidator
- extends Object
 
TODO add class documentation here
- Version:
 
  - $Revision: 1.3 $, $Date: 2011-03-09 07:41:56 $
 
- Author:
 
  - Andreas Poth, last edited by: $Author: poth $
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
InspireValidator
public InspireValidator(String cswAddress,
                        String outputFile)
                 throws MalformedURLException,
                        IOException,
                        SAXException
- Parameters:
 cswAddress - outputFile - 
- Throws:
 SAXException
IOException
MalformedURLException
InspireValidator
public InspireValidator(String cswAddress,
                        XMLFragment query,
                        String outputFile)
- Parameters:
 cswAddress - query - outputFile - 
runRandomQuery
public void runRandomQuery(String mr)
- reads a number of random records from a CSW and validates them against INSPIRE metadata validator
- Parameters:
 mr - number of records to be tested
 
 
runDefinedQuery
public void runDefinedQuery(String queryFile)
- reads a records from a CSW defined by a GetRecord request and validates them against INSPIRE metadata validator
- Parameters:
 queryFile - reference to GetRecords request
 
 
runISOFile
public void runISOFile(String fileName)
- Parameters:
 fileName - name of a file containing a metadata record to be validated
 
runISOFileDirectory
public void runISOFileDirectory(String dirName)
- Parameters:
 dirName - name of the directory containing metadata records to be validated
 
main
public static void main(String[] args)
                 throws Exception
- Throws:
 Exception
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org