| Constructor and Description |
|---|
HTMLScanner() |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber() |
int |
getLineNumber() |
String |
getPublicId() |
String |
getSystemId() |
static void |
main(String[] argv)
Test procedure.
|
void |
resetDocumentLocator(String publicid,
String systemid)
Reset document locator, supplying systemid and publicid.
|
void |
scan(Reader r0,
ScanHandler h)
Scan HTML source, reporting lexical events.
|
void |
startCDATA()
A callback for the ScanHandler that allows it to force
the lexer state to CDATA content (no markup is recognized except
the end of element.
|
public int getLineNumber()
getLineNumber in interface Locatorpublic int getColumnNumber()
getColumnNumber in interface Locatorpublic String getPublicId()
getPublicId in interface Locatorpublic String getSystemId()
getSystemId in interface Locatorpublic void resetDocumentLocator(String publicid, String systemid)
resetDocumentLocator in interface Scannersystemid - System idpublicid - Public idpublic void scan(Reader r0, ScanHandler h) throws IOException, SAXException
scan in interface Scannerr0 - Reader that provides charactersh - ScanHandler that accepts lexical events.IOExceptionSAXExceptionpublic void startCDATA()
startCDATA in interface Scannerpublic static void main(String[] argv) throws IOException, SAXException
IOExceptionSAXExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved