Class HTMLScanner.PlainTextScanner
java.lang.Object
org.htmlunit.cyberneko.HTMLScanner.PlainTextScanner
- All Implemented Interfaces:
HTMLScanner.Scanner
- Enclosing class:
HTMLScanner
Special scanner used for
PLAINTEXT-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanscan(boolean complete) Scans part of the document.protected voidscanCharacters(XMLString buffer, boolean complete)
-
Field Details
-
xmlString_
A string buffer.
-
-
Constructor Details
-
PlainTextScanner
public PlainTextScanner()
-
-
Method Details
-
scan
Description copied from interface:HTMLScanner.ScannerScans part of the document. This interface allows scanning to be performed in a pulling manner.- Specified by:
scanin interfaceHTMLScanner.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
- Throws:
IOException
-