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(org.apache.xerces.util.XMLStringBuffer buffer,
int delimiter) |
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(org.apache.xerces.util.XMLStringBuffer buffer,
int delimiter)
throws IOException
IOExceptionCopyright © 2022 Gargoyle Software Inc.. All rights reserved.