The Encog Project

org.encog.parse
Class ParseTemplate

java.lang.Object
  extended by org.encog.parse.ParseTemplate
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, EncogPersistedObject

public class ParseTemplate
extends java.lang.Object
implements EncogPersistedObject

Allows templates to be specified for the parser.

Author:
jheaton
See Also:
Serialized Form

Constructor Summary
ParseTemplate()
           
 
Method Summary
 void addRecognizer(Recognize recognize)
           
 java.lang.Object clone()
           
 Persistor createPersistor()
          Create a persistor for this object.
 Recognize createRecognizer(java.lang.String name)
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.util.Collection<Recognize> getRecognizers()
           
 void setDescription(java.lang.String description)
          Set the description of this object.
 void setName(java.lang.String name)
          Set the name of this object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseTemplate

public ParseTemplate()
Method Detail

addRecognizer

public void addRecognizer(Recognize recognize)

createRecognizer

public Recognize createRecognizer(java.lang.String name)

getRecognizers

public java.util.Collection<Recognize> getRecognizers()
Returns:
the recognizers

createPersistor

public Persistor createPersistor()
Description copied from interface: EncogPersistedObject
Create a persistor for this object.

Specified by:
createPersistor in interface EncogPersistedObject
Returns:
A persistor for this object.

getName

public java.lang.String getName()
Specified by:
getName in interface EncogPersistedObject
Returns:
the name

setName

public void setName(java.lang.String name)
Description copied from interface: EncogPersistedObject
Set the name of this object.

Specified by:
setName in interface EncogPersistedObject
Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface EncogPersistedObject
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Description copied from interface: EncogPersistedObject
Set the description of this object.

Specified by:
setDescription in interface EncogPersistedObject
Parameters:
description - the description to set

clone

public java.lang.Object clone()
Specified by:
clone in interface EncogPersistedObject
Overrides:
clone in class java.lang.Object
Returns:
A cloned version of this object.

The Encog Project