Converter (marc4j)
Keywords: org.marc4j.marcxml.Converter class

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

## org.marc4j.marcxml
Class Converter

    java.lang.Object
      org.marc4j.marcxml.Converter

public class Converter
extends Object

`Converter` can be used to apply a conversion or transformation from a source, populating a result.

Version:
  $Revision: 1.4 $
Author:
  Bas Peters
See Also:
  `Transformer`

Constructor Summary
`Converter()` Default constructor

Method Summary
`void` | `clearCache()` Clears the `Templates` cache.
`void` | `convert(Source source, Result result)` Converts a `Source` into a `Result`.
`void` | `convert(Source stylesheet, Source source, Result result)` Converts and transforms or transforms and converts a `Source` into a `Result`.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Converter

    public Converter()

  Default constructor

Method Detail

### convert

    public void convert(Source source,
                        Result result)
                 throws TransformerException,
                        SAXException,
                        IOException

  Converts a `Source` into a `Result`.

  Parameters:
    `source` - the `Source` object
    `result` - the `Result` object
  Throws:
    `TransformerException`
    `SAXException`
    `IOException`

### convert

    public void convert(Source stylesheet,
                        Source source,
                        Result result)
                 throws TransformerException,
                        SAXException,
                        IOException

  Converts and transforms or transforms and converts a `Source` into a `Result`.

  Parameters:
    `stylesheet` - the stylesheet `Source` object
    `source` - the `Source` object
    `result` - the `Result` object
  Throws:
    `TransformerException`
    `SAXException`
    `IOException`

### clearCache

    public void clearCache()

  Clears the `Templates` cache.

  See Also:
    `Templates`

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

Copyright © 2001-2004 Bas Peters. All Rights Reserved.