Apache CXF API

org.apache.cxf.io
Interface StaxValidationManager

All Known Implementing Classes:
WoodstoxValidationImpl

public interface StaxValidationManager

This interface defines a bus service for Stax validation. Initially, this is purely with Woodstox4 and msv.


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.
 

Method Detail

setupValidation

void setupValidation(javax.xml.stream.XMLStreamReader reader,
                     ServiceInfo serviceInfo)
                     throws javax.xml.stream.XMLStreamException
Install the schemas onto the reader for validation.

Parameters:
reader - - the reader to enable validation
serviceInfo - - the Service to pull the schema from
Throws:
javax.xml.stream.XMLStreamException

setupValidation

void setupValidation(javax.xml.stream.XMLStreamWriter writer,
                     ServiceInfo serviceInfo)
                     throws javax.xml.stream.XMLStreamException
Install the schemas onto the writer for validation.

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