public class ScriptableControllerPersistence
extends gate.util.persistence.ControllerPersistence
Modifier and Type | Field and Description |
---|---|
protected Object |
controlScript |
protected Object |
corpus |
protected Object |
features |
protected Object |
initParams |
protected static org.apache.log4j.Logger |
log |
protected String |
resourceName |
protected String |
resourceType |
Constructor and Description |
---|
ScriptableControllerPersistence() |
Modifier and Type | Method and Description |
---|---|
Object |
createObject()
Creates a new object from the data contained.
|
void |
extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the
original source object.
|
protected Object corpus
protected Object controlScript
protected static final org.apache.log4j.Logger log
protected String resourceType
protected String resourceName
protected Object initParams
protected Object features
public void extractDataFromSource(Object source) throws gate.persist.PersistenceException
extractDataFromSource
in interface gate.util.persistence.Persistence
extractDataFromSource
in class gate.util.persistence.ControllerPersistence
gate.persist.PersistenceException
public Object createObject() throws gate.persist.PersistenceException, gate.creole.ResourceInstantiationException
createObject
in interface gate.util.persistence.Persistence
createObject
in class gate.util.persistence.ControllerPersistence
gate.persist.PersistenceException
gate.creole.ResourceInstantiationException