public class WoodstoxValidationImpl extends Object implements StaxValidationManager
| Constructor and Description |
|---|
WoodstoxValidationImpl(Bus b) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
setupValidation(XMLStreamReader reader,
Endpoint endpoint,
ServiceInfo serviceInfo)
Install the schemas onto the reader for validation.
|
boolean |
setupValidation(XMLStreamWriter writer,
Endpoint endpoint,
ServiceInfo serviceInfo)
Install the schemas onto the writer for validation.
|
public WoodstoxValidationImpl(Bus b)
public boolean setupValidation(XMLStreamReader reader, Endpoint endpoint, ServiceInfo serviceInfo) throws XMLStreamException
StaxValidationManagersetupValidation in interface StaxValidationManagerreader - - the reader to enable validationserviceInfo - - the Service to pull the schema fromXMLStreamExceptionpublic boolean setupValidation(XMLStreamWriter writer, Endpoint endpoint, ServiceInfo serviceInfo) throws XMLStreamException
StaxValidationManagersetupValidation in interface StaxValidationManagerwriter - - the writer to enable validationserviceInfo - - the Service to pull the schema fromXMLStreamExceptionApache CXF