public abstract class ValidationErrorHandler extends Object implements ErrorHandler
ErrorHandler
to receive errors encountered during the
Validator.validate(javax.xml.transform.Source)
method invocation. Specify
a custom handler in SchemaValidation
, SchemaValidationFeature
to customize the error handling process during validaiton.SchemaValidation
Constructor and Description |
---|
ValidationErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
setPacket(Packet packet)
Use it to communicate validation errors with the application.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
error, fatalError, warning
protected Packet packet
public void setPacket(Packet packet)
Packet.invocationProperties
during request processing and can be accessed in the endpoint
via MessageContext
packet
- for request or response messageCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.