|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.scxml.env.Tracer
A simple tracer connected to Apache Commons Logging.
| Field Summary |
| Fields inherited from interface org.apache.commons.scxml.ErrorReporter |
EXPRESSION_ERROR, ILLEGAL_CONFIG, ILLEGAL_INITIAL, NO_INITIAL, NON_DETERMINISTIC, UNDEFINED_VARIABLE, UNKNOWN_ACTION |
| Constructor Summary | |
Tracer()
Constructor. |
|
| Method Summary | |
void |
error(SAXParseException exception)
|
void |
fatalError(SAXParseException exception)
|
void |
onEntry(TransitionTarget target)
Handle the entry into a TransitionTarget. |
void |
onError(String errCode,
String errDetail,
Object errCtx)
Handler for reporting an error. |
void |
onExit(TransitionTarget target)
Handle the exit out of a TransitionTarget. |
void |
onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition)
Handle the transition. |
void |
warning(SAXParseException exception)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Tracer()
| Method Detail |
public void warning(SAXParseException exception)
throws SAXException
warning in interface ErrorHandlerSAXExceptionErrorHandler.warning(org.xml.sax.SAXParseException)
public void error(SAXParseException exception)
throws SAXException
error in interface ErrorHandlerSAXExceptionErrorHandler.error(org.xml.sax.SAXParseException)
public void fatalError(SAXParseException exception)
throws SAXException
fatalError in interface ErrorHandlerSAXExceptionErrorHandler.fatalError(org.xml.sax.SAXParseException)
public void onError(String errCode,
String errDetail,
Object errCtx)
ErrorReporter
onError in interface ErrorReportererrCode - one of the ErrorReporter's constantserrDetail - human readable descriptionerrCtx - typically an SCXML element which caused an error,
may be accompanied by additional informationErrorReporter.onError(String, String, Object)public void onEntry(TransitionTarget target)
SCXMLListener
onEntry in interface SCXMLListenertarget - The TransitionTarget enteredSCXMLListener.onEntry(TransitionTarget)public void onExit(TransitionTarget target)
SCXMLListener
onExit in interface SCXMLListenertarget - The TransitionTarget exitedSCXMLListener.onExit(TransitionTarget)
public void onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition)
SCXMLListener
onTransition in interface SCXMLListenerfrom - The source TransitionTargetto - The destination TransitionTargettransition - The Transition takenSCXMLListener.onTransition(TransitionTarget,TransitionTarget,Transition)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||