public class HTMLScanner.SpecialScanner extends java.lang.Object implements HTMLScanner.Scanner
Modifier and Type | Field and Description |
---|---|
protected java.lang.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 |
---|
HTMLScanner.SpecialScanner() |
Modifier and Type | Method and Description |
---|---|
boolean |
scan(boolean complete)
Scan.
|
protected void |
scanCharacters(XMLStringBuffer buffer,
int delimiter)
Scan characters.
|
HTMLScanner.Scanner |
setElementName(java.lang.String ename)
Sets the element name.
|
protected java.lang.String fElementName
protected boolean fStyle
protected boolean fTextarea
protected boolean fTitle
public HTMLScanner.Scanner setElementName(java.lang.String ename)
public boolean scan(boolean complete) throws java.io.IOException
scan
in interface HTMLScanner.Scanner
complete
- True if the scanner should not return until
scanning is complete.java.io.IOException
- Thrown if I/O error occurs.protected void scanCharacters(XMLStringBuffer buffer, int delimiter) throws java.io.IOException
java.io.IOException
(C) Copyright 2002-2014, Andy Clark, Marc Guillemot. All rights reserved.