com.topologi.diffx.load
Interface Recorder

All Known Subinterfaces:
XMLRecorder
All Known Implementing Classes:
DOMRecorder, SAXRecorder, TextRecorder

public interface Recorder

A class implementing this interface must be able to produce a sequence of event from a specified input.

Version:
8 March 2005
Author:
Christophe Lauret

Method Summary
 EventSequence process(File file)
          Runs the recorder on the specified file.
 EventSequence process(String xml)
          Runs the recorder on the specified string.
 

Method Detail

process

EventSequence process(File file)
                      throws LoadingException,
                             IOException
Runs the recorder on the specified file.

Parameters:
file - The file to process.
Returns:
The recorded sequence of events.
Throws:
LoadingException - If thrown while parsing.
IOException - Should I/O error occur.

process

EventSequence process(String xml)
                      throws LoadingException,
                             IOException
Runs the recorder on the specified string.

Parameters:
xml - The string to process.
Returns:
The recorded sequence of events.
Throws:
LoadingException - If thrown while parsing.
IOException - Should I/O error occur.