com.norconex.jef.progress.snapshot
Class XMLProgressSnapshotSerializer

java.lang.Object
  extended by com.norconex.jef.progress.snapshot.XMLProgressSnapshotSerializer
All Implemented Interfaces:
IProgressSnapshotSerializer, Serializable

public class XMLProgressSnapshotSerializer
extends Object
implements IProgressSnapshotSerializer

Renders the a job suite progress snapshot in XML format.

Since:
2.0
Author:
Pascal Essiembre
See Also:
Serialized Form

Constructor Summary
XMLProgressSnapshotSerializer()
           
 
Method Summary
 IProgressSnapshot readProgressSnapshot(Reader in)
          Reads a job progress snapshot.
 void writeProgressSnapshot(Writer writer, IProgressSnapshot snapshot)
          Writes a job progress snapshot.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLProgressSnapshotSerializer

public XMLProgressSnapshotSerializer()
Method Detail

writeProgressSnapshot

public void writeProgressSnapshot(Writer writer,
                                  IProgressSnapshot snapshot)
Description copied from interface: IProgressSnapshotSerializer
Writes a job progress snapshot.

Specified by:
writeProgressSnapshot in interface IProgressSnapshotSerializer
Parameters:
writer - where to write the progress
snapshot - the job progress snapshopt to write

readProgressSnapshot

public IProgressSnapshot readProgressSnapshot(Reader in)
Description copied from interface: IProgressSnapshotSerializer
Reads a job progress snapshot.

Specified by:
readProgressSnapshot in interface IProgressSnapshotSerializer
Parameters:
in - reader for the progress
Returns:
the job progress snapshot


Copyright © 2007-2013 Norconex Inc.. All Rights Reserved.