The Encog Project

org.encog.neural.persist.persistors
Class BasicLayerPersistor

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

public class BasicLayerPersistor
extends java.lang.Object
implements Persistor

Persistence methods for the basic neural layer.

Author:
jheaton

Constructor Summary
BasicLayerPersistor()
           
 
Method Summary
 EncogPersistedObject load(org.w3c.dom.Element layerNode)
          Load from the specified node.
 void save(EncogPersistedObject object, javax.xml.transform.sax.TransformerHandler hd)
          Save the specified object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicLayerPersistor

public BasicLayerPersistor()
Method Detail

load

public EncogPersistedObject load(org.w3c.dom.Element layerNode)
Load from the specified node.

Specified by:
load in interface Persistor
Parameters:
layerNode - The node to load from.
Returns:
The EncogPersistedObject that was loaded.

save

public void save(EncogPersistedObject object,
                 javax.xml.transform.sax.TransformerHandler hd)
Save the specified object.

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

The Encog Project