The Encog Project

org.encog.neural.data
Class TextData

java.lang.Object
  extended by org.encog.neural.data.TextData
All Implemented Interfaces:
java.io.Serializable, EncogPersistedObject

public class TextData
extends java.lang.Object
implements EncogPersistedObject

An Encog object that can hold text data. This object can be stored in an Encog persisted file.

Author:
jheaton
See Also:
Serialized Form

Constructor Summary
TextData()
           
 
Method Summary
 java.lang.Object clone()
          Clone this object.
 Persistor createPersistor()
          Create a persistor to store this object.
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getText()
           
 void setDescription(java.lang.String description)
          Set the description of this object.
 void setName(java.lang.String name)
          Set the name of this object.
 void setText(java.lang.String text)
          Set the text held by this object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextData

public TextData()
Method Detail

clone

public java.lang.Object clone()
Clone this object.

Overrides:
clone in class java.lang.Object
Returns:
A cloned version of this object.

createPersistor

public Persistor createPersistor()
Create a persistor to store this object.

Specified by:
createPersistor in interface EncogPersistedObject
Returns:
A persistor.

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface EncogPersistedObject
Returns:
The description of this object.

getName

public java.lang.String getName()
Specified by:
getName in interface EncogPersistedObject
Returns:
The name of this object.

getText

public java.lang.String getText()
Returns:
The text held by this object.

setDescription

public void setDescription(java.lang.String description)
Set the description of this object.

Specified by:
setDescription in interface EncogPersistedObject
Parameters:
description - The description of this object.

setName

public void setName(java.lang.String name)
Set the name of this object.

Specified by:
setName in interface EncogPersistedObject
Parameters:
name - The name of this object.

setText

public void setText(java.lang.String text)
Set the text held by this object.

Parameters:
text - The text held by this object.

The Encog Project