Interface ParserControl

  • All Implemented Interfaces:

    
    public interface ParserControl
    
                        

    ParserControl is used to control particular behaviour of the parser.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean isFinished(int lastOptionCode) Called by the parser to determine whether it should stop after last option parsed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • isFinished

         abstract boolean isFinished(int lastOptionCode)

        Called by the parser to determine whether it should stop after last option parsed.

        Parameters:
        lastOptionCode - the code of last option parsed
        Returns:

        return true to halt, false to continue parsing