DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.test
Class ValidatorTester

java.lang.Object
  extended by org.dlese.dpc.schemedit.test.ValidatorTester

public class ValidatorTester
extends Object


Nested Class Summary
 class ValidatorTester.ForgivingErrorHandler
           
 class ValidatorTester.MyErrorHandler
           
 
Constructor Summary
ValidatorTester(String schemaURI)
           
 
Method Summary
static void main(String[] args)
           
static void validate(String xmlPath, String xsdPath)
           
 String validateFile(File f)
           
 String validateFile(File f, boolean showWarnings)
           
 String validateString(String s)
           
 String validateString(String s, boolean showWarnings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorTester

public ValidatorTester(String schemaURI)
                throws Exception
Throws:
Exception
Method Detail

validateString

public final String validateString(String s)

validateString

public final String validateString(String s,
                                   boolean showWarnings)

validateFile

public final String validateFile(File f)

validateFile

public final String validateFile(File f,
                                 boolean showWarnings)

main

public static void main(String[] args)

validate

public static void validate(String xmlPath,
                            String xsdPath)
                     throws Exception
Throws:
Exception

DLESE Tools
v1.6.0