| Modifier and Type | Field and Description |
|---|---|
| private final IVerifier |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public VerifierHandler | getVerifierHandler()
Implements abstract org. Implements org. |
| protected void | prepareXMLReader()
Overrides org. |
| public void | setErrorHandler(ErrorHandler
this object will receive errors/warning encountered
during the validation. handler)Overrides org. Implements org. ErrorHandler that receives validation
errors/warnings.
|
| verifier | back to summary |
|---|---|
| private final IVerifier verifier | |
| VerifierImpl | back to summary |
|---|---|
| pack-priv VerifierImpl(IVerifier verifier, XMLReader reader) throws VerifierConfigurationException | |
| getVerifierHandler | back to summary |
|---|---|
| public VerifierHandler getVerifierHandler() Implements abstract org. Implements org. Doc from org. Gets a VerifierHandler.
you can use the returned
Note that two different invocations of this method
can return the same value; this method does NOT
necessarily create a new | |
| prepareXMLReader | back to summary |
|---|---|
| protected void prepareXMLReader() Overrides org. Doc from org. Creates and sets a sole instance of XMLReader which will be used by this verifier. | |
| setErrorHandler | back to summary |
|---|---|
| public void setErrorHandler(ErrorHandler handler) Overrides org. Implements org. Doc from org. Sets a If no error handler is set explicitly, a verifier implementation will not report any error/warning at all. However, the caller can still obtain the result of validation through the return value. Conscious developers should always set an error handler explicitly as the default behavior has been changed several times.
| |