Class Parser.AbstractSyntaxHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void comment​(java.lang.CharSequence text)
      Called for a comment.
      void newLine​(java.lang.CharSequence text)
      Indicates that a new line starts.
      void whitespace​(java.lang.CharSequence text)
      Called when whitespace characters are encountered.
      • Methods inherited from class java.lang.Object

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

      • AbstractSyntaxHandler

        public AbstractSyntaxHandler()
    • Method Detail

      • comment

        public void comment​(java.lang.CharSequence text)
        Called for a comment.
        Specified by:
        comment in interface Parser.SyntaxHandler
        Parameters:
        text - the comment
      • newLine

        public void newLine​(java.lang.CharSequence text)
        Indicates that a new line starts.
        Specified by:
        newLine in interface Parser.SyntaxHandler
        Parameters:
        text - the new line character (CR, LF, CR/LF or FF)
      • whitespace

        public void whitespace​(java.lang.CharSequence text)
        Called when whitespace characters are encountered.
        Specified by:
        whitespace in interface Parser.SyntaxHandler
        Parameters:
        text - the whitespace text