public class HTMLScanner.SpecialScanner extends Object implements HTMLScanner.Scanner
| Modifier and Type | Field and Description |
|---|---|
protected String |
fElementName
Name of element whose content needs to be scanned as text.
|
protected boolean |
fStyle
True if <style> element.
|
protected boolean |
fTextarea
True if <textarea> element.
|
protected boolean |
fTitle
True if <title> element.
|
| Constructor and Description |
|---|
SpecialScanner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
scan(boolean complete)
Scan.
|
protected void |
scanCharacters(XMLString buffer) |
HTMLScanner.Scanner |
setElementName(String ename) |
protected String fElementName
protected boolean fStyle
protected boolean fTextarea
protected boolean fTitle
public HTMLScanner.Scanner setElementName(String ename)
public boolean scan(boolean complete)
throws IOException
scan in interface HTMLScanner.Scannercomplete - True if the scanner should not return until scanning is
complete.IOException - Thrown if I/O error occurs.protected void scanCharacters(XMLString buffer) throws IOException
IOExceptionCopyright © 2024 HtmlUnit. All rights reserved.