org.encog.persist.persistors
Class PropertyDataPersistor

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

public class PropertyDataPersistor
extends Object
implements Persistor

The Encog persistor used to persist the PropertyData class.

Author:
jheaton

Field Summary
static String ATTRIBUTE_NAME
          The name attribute.
static String ATTRIBUTE_VALUE
          The value attribute.
static String TAG_PROPERTIES
          The properties tag.
static String TAG_PROPERTY
          The property tag.
 
Constructor Summary
PropertyDataPersistor()
           
 
Method Summary
 EncogPersistedObject load(ReadXML in)
          Load the specified Encog object from an XML reader.
 void save(EncogPersistedObject obj, WriteXML out)
          Save the specified Encog object to an XML writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_PROPERTIES

public static final String TAG_PROPERTIES
The properties tag.

See Also:
Constant Field Values

TAG_PROPERTY

public static final String TAG_PROPERTY
The property tag.

See Also:
Constant Field Values

ATTRIBUTE_NAME

public static final String ATTRIBUTE_NAME
The name attribute.

See Also:
Constant Field Values

ATTRIBUTE_VALUE

public static final String ATTRIBUTE_VALUE
The value attribute.

See Also:
Constant Field Values
Constructor Detail

PropertyDataPersistor

public PropertyDataPersistor()
Method Detail

load

public EncogPersistedObject load(ReadXML in)
Load the specified Encog object from an XML reader.

Specified by:
load in interface Persistor
Parameters:
in - The XML reader to use.
Returns:
The loaded object.

save

public void save(EncogPersistedObject obj,
                 WriteXML out)
Save the specified Encog object to an XML writer.

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


Copyright © 2011. All Rights Reserved.