|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTransformerBase.Task
public class TransformerBase.Task
A wrapper for a Transformation Task. Support aborting any translation activity. Because the Task is Runnable, exceptions must be checked asynchronously by using the checkError and getError methods.
Constructor Summary | |
---|---|
TransformerBase.Task(Object object,
StreamResult result)
|
Method Summary | |
---|---|
void |
abort()
Calls to the underlying translator to abort any calls to translation. |
boolean |
checkError()
Did an error occur? |
Exception |
getError()
Get any error which occurred. |
void |
run()
Perform the translation. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformerBase.Task(Object object, StreamResult result) throws TransformerException
TransformerException
Method Detail |
---|
public boolean checkError()
public Exception getError()
public void abort()
public void run()
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |