Package oracle.spatial.util
Class XMLValidator
- java.lang.Object
-
- oracle.spatial.util.XMLValidator
-
public class XMLValidator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XMLValidator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
process
public static void process(java.lang.String xmlfile, java.lang.String xsdfile) throws java.lang.Exception
- Parameters:
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.- Throws:
java.lang.Exception
-
processValidateXML
public static void processValidateXML(java.lang.String xmlURI, java.lang.Object schemadoc) throws java.lang.Exception
- Parameters:
xmlURI
- The URI String for the XML file to be validated.schemadoc
- The schema document Object for the XSD file to be validated.- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-