T - Document type that will be validated.public abstract class AbstractXmlValidator<T> extends Object
| Constructor and Description |
|---|
AbstractXmlValidator(Map<String,byte[]> xsdDependencies)
Custom constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract URL |
getSchema()
Get the URL of the schema to validate against.
|
void |
validate(InputStream documentStream)
Validation of XJDF Document based on XJDF Schema.
|
public final void validate(InputStream documentStream) throws ValidationException
documentStream - Stream to read document from.ValidationException - Is thrown in case the underlying document is invalid.protected abstract URL getSchema()
Copyright © 2016. All rights reserved.