|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.jape.Transducer
Represents a single or multiphase transducer.
Constructor Summary | |
Transducer()
|
Method Summary | |
void |
addProgressListener(ProgressListener l)
|
void |
addStatusListener(StatusListener l)
|
abstract void |
cleanUp()
Clean up (delete action class files, for e.g.). |
abstract void |
finish()
Finish: replace dynamic data structures with Java arrays; called after parsing. |
URL |
getBaseURL()
|
String |
getName()
Get the phase name of this transducer |
Ontology |
getOntology()
Gets the ontology used by this transducer; |
void |
interrupt()
Notifies this PR that it should stop its execution as soon as possible. |
boolean |
isDebugMode()
|
boolean |
isInterrupted()
Checks whether this PR has been interrupted since the lsat time its execute() method was called. |
void |
removeProgressListener(ProgressListener l)
|
void |
removeStatusListener(StatusListener l)
|
void |
setBaseURL(URL newBaseURL)
|
void |
setDebugMode(boolean debugMode)
|
void |
setOntology(Ontology ontology)
Sets the ontology used by this transducer; |
abstract String |
toString(String pad)
Create a string representation of the object with padding. |
abstract void |
transduce(Document doc,
AnnotationSet inputAS,
AnnotationSet outputAS)
Transduce a document. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Transducer()
Method Detail |
public String getName()
public abstract void transduce(Document doc, AnnotationSet inputAS, AnnotationSet outputAS) throws JapeException, ExecutionException
JapeException
ExecutionException
public abstract void finish()
public abstract void cleanUp()
public abstract String toString(String pad)
public boolean isInterrupted()
execute()
method was called.
public void interrupt()
public void setBaseURL(URL newBaseURL)
public URL getBaseURL()
public void removeProgressListener(ProgressListener l)
public void addProgressListener(ProgressListener l)
public void setDebugMode(boolean debugMode)
public boolean isDebugMode()
public void removeStatusListener(StatusListener l)
public void addStatusListener(StatusListener l)
public Ontology getOntology()
Ontology
value;public void setOntology(Ontology ontology)
ontology
- an Ontology
value;
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |