public class XMLValidator
extends java.lang.Object
| Constructor and Description |
|---|
XMLValidator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static void |
process(java.lang.String xmlfile, java.lang.String xsdfile) |
static void |
processValidateXML(java.lang.String xmlURI, java.lang.Object schemadoc) |
public static void process(java.lang.String xmlfile,
java.lang.String xsdfile)
throws java.lang.Exception
xmlfile - The file name for the XML file to be validated.xsdfile - The file name for the XSD file to be validated. All dependent XSDs must be included in the parent file.java.lang.Exception
public static void processValidateXML(java.lang.String xmlURI,
java.lang.Object schemadoc)
throws java.lang.Exception
xmlURI - The URI String for the XML file to be validated.schemadoc - The schema document Object for the XSD file to be validated.java.lang.Exception
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception