Interface NexusBlockListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void beginComment()
      Opening a comment tag.
      void commentText​(java.lang.String comment)
      Receiving free text inside a comment tag.
      void endBlock()
      Notifies the parser that a block is ending.
      void endComment()
      Closing a comment tag.
      void endTokenGroup()
      Closing a line (semi-colon encountered).
      void startBlock​(java.lang.String blockName)
      Notifies the parser that a new block is starting.
    • Method Detail

      • startBlock

        void startBlock​(java.lang.String blockName)
        Notifies the parser that a new block is starting.
        Parameters:
        blockName - the name of the newly started block.
      • endBlock

        void endBlock()
        Notifies the parser that a block is ending.
      • endComment

        void endComment()
        Closing a comment tag.
      • endTokenGroup

        void endTokenGroup()
        Closing a line (semi-colon encountered). This indicates that anything received after it is on the next logical line of the block.
      • commentText

        void commentText​(java.lang.String comment)
                  throws ParseException
        Receiving free text inside a comment tag.
        Parameters:
        comment - the text of the comment.
        Throws:
        ParseException