Package org.htmlunit.cyberneko
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 TypeMethodDescriptionboolean
scan
(boolean complete) Scans part of the document.protected void
scanCharacters
(XMLString buffer, boolean complete)
-
Field Details
-
xmlString_
A string buffer.
-
-
Constructor Details
-
PlainTextScanner
public PlainTextScanner()
-
-
Method Details
-
scan
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 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
-