public final class SchemaChecker extends Object
| Constructor and Description |
|---|
SchemaChecker(String schema)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Document |
check(InputStream input)
This method parses an XML input with a W3C DOM implementation and
validates it then with the available XML schema.
|
public SchemaChecker(String schema)
schema - schema to checkpublic Document check(InputStream input)
input - The input stream containing the XML query.Document.Copyright © 2013. All Rights Reserved.