The Encog Project

org.encog.persist.persistors
Class ParseTemplatePersistor

java.lang.Object
  extended by org.encog.persist.persistors.ParseTemplatePersistor
All Implemented Interfaces:
Persistor

public class ParseTemplatePersistor
extends java.lang.Object
implements Persistor

The Encog persistor used to persist the ParseTemplate class.

Author:
jheaton

Constructor Summary
ParseTemplatePersistor()
           
 
Method Summary
 EncogPersistedObject load(ReadXML in)
          Load ParseTemplate object.
 void save(EncogPersistedObject object, WriteXML out)
          Save the parse template.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseTemplatePersistor

public ParseTemplatePersistor()
Method Detail

load

public EncogPersistedObject load(ReadXML in)
Load ParseTemplate object.

Specified by:
load in interface Persistor
Parameters:
in - The XML to read it from.
Returns:
The loaded object.

save

public void save(EncogPersistedObject object,
                 WriteXML out)
Save the parse template.

Specified by:
save in interface Persistor
Parameters:
object - The object to save.
out - The XML writer.

The Encog Project