public class ValidatorTester
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ValidatorTester.ForgivingErrorHandler |
class |
ValidatorTester.MyErrorHandler |
Constructor and Description |
---|
ValidatorTester(java.lang.String schemaURI) |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static void |
validate(java.lang.String xmlPath,
java.lang.String xsdPath) |
java.lang.String |
validateFile(java.io.File f) |
java.lang.String |
validateFile(java.io.File f,
boolean showWarnings) |
java.lang.String |
validateString(java.lang.String s) |
java.lang.String |
validateString(java.lang.String s,
boolean showWarnings) |
public ValidatorTester(java.lang.String schemaURI) throws java.lang.Exception
java.lang.Exception
public final java.lang.String validateString(java.lang.String s)
public final java.lang.String validateString(java.lang.String s, boolean showWarnings)
public final java.lang.String validateFile(java.io.File f)
public final java.lang.String validateFile(java.io.File f, boolean showWarnings)
public static void main(java.lang.String[] args)
public static void validate(java.lang.String xmlPath, java.lang.String xsdPath) throws java.lang.Exception
java.lang.Exception