org.crosswire.common.xml

## Class TransformingSAXEventProviderConverter

- java.lang.Object
- - org.crosswire.common.xml.TransformingSAXEventProviderConverter

- All Implemented Interfaces:
    Converter

      public class TransformingSAXEventProviderConverter
      extends Object
      implements Converter

  An implementation of Converter that uses a TransformingSAXEventProvider to transform one SAXEventProvider into another SAXEventProvider using XSL.
  Author:
    Joe Walker
  See Also:
    `The GNU Lesser General Public License for details.`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private URI` | `xsluri` The URI of the stylesheet

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TransformingSAXEventProviderConverter(URI xsluri)` Simple ctor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SAXEventProvider` | `convert(SAXEventProvider provider)` Convert one SAX stream into another.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### xsluri

          private URI xsluri

      The URI of the stylesheet

  - ### Constructor Detail

    - #### TransformingSAXEventProviderConverter

          public TransformingSAXEventProviderConverter(URI xsluri)

      Simple ctor
      Parameters:
        `xsluri` - The uri of the stylesheet

  - ### Method Detail

    - #### convert

          public SAXEventProvider convert(SAXEventProvider provider)

      Description copied from interface: `Converter`
      Convert one SAX stream into another.
      Specified by:
        `convert` in interface `Converter`
      Parameters:
        `provider` - The source stream
      Returns:
        The destination stream