org.apache.cxf.wstx_msv_validation
Class WoodstoxValidationImpl
java.lang.Object
org.apache.cxf.wstx_msv_validation.WoodstoxValidationImpl
- All Implemented Interfaces:
- StaxValidationManager
public class WoodstoxValidationImpl
- extends Object
- implements StaxValidationManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WoodstoxValidationImpl
public WoodstoxValidationImpl(Bus b)
setupValidation
public void setupValidation(XMLStreamReader reader,
ServiceInfo serviceInfo)
throws XMLStreamException
- Install the schemas onto the reader for validation.
- Specified by:
setupValidation
in interface StaxValidationManager
- Parameters:
reader
- - the reader to enable validationserviceInfo
- - the Service to pull the schema from
- Throws:
XMLStreamException
setupValidation
public void setupValidation(XMLStreamWriter writer,
ServiceInfo serviceInfo)
throws XMLStreamException
- Description copied from interface:
StaxValidationManager
- Install the schemas onto the writer for validation.
- Specified by:
setupValidation
in interface StaxValidationManager
- Parameters:
writer
- - the writer to enable validationserviceInfo
- - the Service to pull the schema from
- Throws:
XMLStreamException
Apache CXF