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.7 $
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
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
TransformerException
SAXException
IOException

clearCache

public void clearCache()

Clears the Templates cache.

See Also:
Templates


Copyright 2001-2003 Bas Peters. All Rights Reserved.