Apache CXF API

org.apache.cxf.wstx_msv_validation
Class WoodstoxValidationImpl

java.lang.Object
  extended by org.apache.cxf.wstx_msv_validation.WoodstoxValidationImpl
All Implemented Interfaces:
StaxValidationManager

public class WoodstoxValidationImpl
extends Object
implements StaxValidationManager


Constructor Summary
WoodstoxValidationImpl(Bus b)
           
 
Method Summary
 void setupValidation(javax.xml.stream.XMLStreamReader reader, ServiceInfo serviceInfo)
          Install the schemas onto the reader for validation.
 void setupValidation(javax.xml.stream.XMLStreamWriter writer, ServiceInfo serviceInfo)
          Install the schemas onto the writer for validation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WoodstoxValidationImpl

public WoodstoxValidationImpl(Bus b)
Method Detail

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 validation
serviceInfo - - 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 validation
serviceInfo - - the Service to pull the schema from
Throws:
javax.xml.stream.XMLStreamException

Apache CXF API

Apache CXF