Package org.ccil.cowan.tagsoup
Interface Scanner
- All Known Implementing Classes:
HTMLScanner,PYXScanner
public interface Scanner
An interface allowing Parser to invoke scanners.
-
Method Summary
Modifier and TypeMethodDescriptionvoidresetDocumentLocator(String publicid, String systemid) Reset the embedded locator.voidscan(Reader r, ScanHandler h) Invoke a scanner.voidSignal to the scanner to start CDATA content mode.
-
Method Details
-
scan
Invoke a scanner.- Parameters:
r- A source of characters to scanh- A ScanHandler to report events to- Throws:
IOExceptionSAXException
-
resetDocumentLocator
Reset the embedded locator.- Parameters:
publicid- The publicid of the sourcesystemid- The systemid of the source
-
startCDATA
void startCDATA()Signal to the scanner to start CDATA content mode.
-