deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial)

org.deegree.tools.metadata
Class InspireValidator

java.lang.Object
  extended by 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 $

Constructor Summary
InspireValidator(String cswAddress, String outputFile)
           
InspireValidator(String cswAddress, XMLFragment query, String outputFile)
           
 
Method Summary
static void main(String[] args)
           
 void runDefinedQuery(String queryFile)
          reads a records from a CSW defined by a GetRecord request and validates them against INSPIRE metadata validator
 void runISOFile(String fileName)
           
 void runISOFileDirectory(String dirName)
           
 void runRandomQuery(String mr)
          reads a number of random records from a CSW and validates them against INSPIRE metadata validator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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

deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org