StaxValidationManager (Apache CXF API 2.7.0.redhat-611445 API)

org.apache.cxf.io

## Interface StaxValidationManager

-     public interface StaxValidationManager

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `setupValidation(XMLStreamReader reader, Endpoint endpoint, ServiceInfo serviceInfo)` Install the schemas onto the reader for validation.
    `boolean` | `setupValidation(XMLStreamWriter writer, Endpoint endpoint, ServiceInfo serviceInfo)` Install the schemas onto the writer for validation.

- - ### Method Detail

    - #### setupValidation

          boolean setupValidation(XMLStreamReader reader,
                                Endpoint endpoint,
                                ServiceInfo serviceInfo)
                                  throws 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:
        `XMLStreamException`

    - #### setupValidation

          boolean setupValidation(XMLStreamWriter writer,
                                Endpoint endpoint,
                                ServiceInfo serviceInfo)
                                  throws 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:
        `XMLStreamException`

Apache CXF