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(javax.xml.stream.XMLStreamReader reader,
ServiceInfo serviceInfo)
throws javax.xml.stream.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:
javax.xml.stream.XMLStreamException
setupValidation
public void setupValidation(javax.xml.stream.XMLStreamWriter writer,
ServiceInfo serviceInfo)
throws javax.xml.stream.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:
javax.xml.stream.XMLStreamException
Apache CXF