Return a new {@link ValidationHandler} instance that can be used tovalidate an XML document by sending SAX events to it.
The specified {@link ErrorHandler} will be notified of all warnings orerrors encountered validating the SAX events sent to the returned {@link ValidationHandler}, and must not be null.
The returned {@link ValidationHandler} can be used to validate onlyone XML document. To validate more than one document, this method should be called once for each document to validate.
@param handler an {@link ErrorHandler} to notify of validation errors. @return a non-null {@link ValidationHandler} instance. @throws SAXException if an error occurred creating the validation handler.
|
|
|
|
|
|