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(XMLStreamReader reader, ServiceInfo serviceInfo)
          Install the schemas onto the reader for validation.
 void setupValidation(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(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 validation
serviceInfo - - 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 validation
serviceInfo - - the Service to pull the schema from
Throws:
XMLStreamException

Apache CXF API

Apache CXF