Class HTMLScanner.PlainTextScanner

java.lang.Object
org.htmlunit.cyberneko.HTMLScanner.PlainTextScanner
All Implemented Interfaces:
HTMLScanner.Scanner
Enclosing class:
HTMLScanner

public class HTMLScanner.PlainTextScanner extends Object implements HTMLScanner.Scanner
Special scanner used for PLAINTEXT
  • Field Details

    • xmlString_

      private final XMLString xmlString_
      A string buffer.
  • Constructor Details

    • PlainTextScanner

      public PlainTextScanner()
  • Method Details

    • scan

      public boolean scan(boolean complete) throws IOException
      Description copied from interface: HTMLScanner.Scanner
      Scans part of the document. This interface allows scanning to be performed in a pulling manner.
      Specified by:
      scan in interface HTMLScanner.Scanner
      Parameters:
      complete - True if the scanner should not return until scanning is complete.
      Returns:
      True if additional scanning is required.
      Throws:
      IOException - Thrown if I/O error occurs.
    • scanCharacters

      protected void scanCharacters(XMLString buffer, boolean complete) throws IOException
      Throws:
      IOException