class RecognizerResult extends Result
| Modifier and Type | Field and Description |
|---|---|
(package private) Node |
source |
definition, in, ready| Constructor and Description |
|---|
RecognizerResult(JobDefinition def,
Node source,
URI in) |
| Modifier and Type | Method and Description |
|---|---|
Node |
getDestination()
The Node receiving the result or
null if that is not applicable (for recognizers). |
MimeType |
getMimeType()
On what kind of inputs this result can work.
|
URI |
getOut()
The file receiving the result, or
null if that is not applicable |
Node |
getSource() |
void |
ready()
Marks this result as ready, meaning that there is nothing left to be done and
Result.isReady() will return true from now on. |
String |
toString() |
getIn, getJobDefinition, getStage, isReadyfinal Node source
RecognizerResult(JobDefinition def, Node source, URI in)
public Node getSource()
public Node getDestination()
Resultnull if that is not applicable (for recognizers).getDestination in class Resultpublic URI getOut()
Resultnull if that is not applicablepublic MimeType getMimeType()
ResultgetMimeType in class Resultpublic void ready()
ResultResult.isReady() will return true from now on.
Also, extensions may override this with extra functionality which can only be done if transcoding is ready.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}