Class StateMachine.SimpleStateListener

  • All Implemented Interfaces:
    TagValueListener
    Enclosing class:
    StateMachine

    public class StateMachine.SimpleStateListener
    extends java.lang.Object
    implements TagValueListener
    a basic listener for a State. It forwards all events to the delegate for the StateMachine. Extend to implement listeners for specific states.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void endRecord()
      The current record has ended.
      void endTag()
      End the current tag.
      void setExceptionOnNullDelegate​(boolean throwException)
      determines if an exception is thrown when an event arrives without the delegate being set.
      void startRecord()
      A new record is about to start.
      void startTag​(java.lang.Object tag)
      Start a new tag.
      void value​(TagValueContext ctxt, java.lang.Object value)
      A value has been seen.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait