Class SGMLParser.SpecCharTester

    • Field Detail

      • chr

        private char chr
        The character which passes the test testChar(char).
    • Constructor Detail

      • SpecCharTester

        SpecCharTester()
    • Method Detail

      • setChar

        void setChar​(char chr)
        Sets chr to the specified character value.
        Parameters:
        chr - a char value.
      • testChar

        public boolean testChar​(char chr)
        Returns whether the given character coincides with chr.
        Specified by:
        testChar in interface SGMLParser.CharTester
        Parameters:
        chr - a char value.
        Returns:
        whether ch coincides with chr.