|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--spo.src.SPDB.Schema.schemaValidation
A schema validation class. XML Schema Processor uses the XMLSchema specification from a specified URL/file to validate the contents of a specified XML file.
| Field Summary | |
oracle.xml.parser.v2.DOMParser |
parser
|
| Constructor Summary | |
schemaValidation()
Initialize an instance for the class |
|
| Method Summary | |
java.lang.String |
getSchema()
|
int |
process(java.io.BufferedReader br)
Use default schema with schema URL |
void |
process(java.lang.String urlStr)
Provides XML file with URL string |
void |
process(java.lang.String urlStr,
java.lang.String schemaStr)
Provides schema with file name |
void |
setSchema(java.lang.String schema)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public oracle.xml.parser.v2.DOMParser parser
| Constructor Detail |
public schemaValidation()
| Method Detail |
public int process(java.io.BufferedReader br)
throws java.lang.Exception
br - A BufferedReader stream
java.lang.Exception
public void process(java.lang.String urlStr)
throws java.lang.Exception
urlStr - the URL string for the XML file
java.lang.Exception
public void process(java.lang.String urlStr,
java.lang.String schemaStr)
throws java.lang.Exception
urlStr - the URL string for the XML fileschemaStr - the URL string for the schema file
java.lang.Exceptionpublic java.lang.String getSchema()
public void setSchema(java.lang.String schema)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||