public class XSDValidator extends Object
Constructor | Description |
---|---|
XSDValidator(MultiXSDSchemaFiles schemas) |
|
XSDValidator(Source... sources) |
|
XSDValidator(Schema schema) |
Modifier and Type | Method | Description |
---|---|---|
void |
validate(Node document) |
Validate some XML against this schema
|
public XSDValidator(MultiXSDSchemaFiles schemas)
public XSDValidator(Source... sources)
public XSDValidator(Schema schema)
public void validate(Node document) throws SchemaValidationException
document
- SchemaValidationException
- if the document does not validate against the schemaCopyright © 2018. All rights reserved.