|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.sixdml.validation.orclXmlSchemaValidator
orclXmlSchemaValidator.java This class uses the Oracle XDK Parser to validate XML schemas and instance documents. Created: Sat Jan 12 19:51:19 2002
| Constructor Summary | |
private |
orclXmlSchemaValidator()
Default constructor private because no instances of this class will be needed. |
| Method Summary | |
static URL |
createURL(String fileName)
Helper method to create a URL from a file name. |
static void |
validate(URL instanceDocLocation)
Validates an XML schema. |
static void |
validate(URL schemaLocation,
URL instanceDocLocation)
Validates an XML schema against the provided instance document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
private orclXmlSchemaValidator()
| Method Detail |
public static void validate(URL instanceDocLocation)
throws Exception
instanceDocLocation - the location of the instance document.
Exception
public static void validate(URL schemaLocation,
URL instanceDocLocation)
throws Exception
instanceDocLocation - the location of the instance document.schemaLocation - the location of the schema.
Exception
public static URL createURL(String fileName)
throws MalformedURLException
fileName - file to convert.
MalformedURLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||