Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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)`

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` -
    `schemas` -
  Throws:
    `javax.xml.stream.XMLStreamException`

### setupValidation

    void setupValidation(javax.xml.stream.XMLStreamWriter writer,
                         ServiceInfo serviceInfo)
                         throws javax.xml.stream.XMLStreamException

  Throws:
    `javax.xml.stream.XMLStreamException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF