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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
resetDocumentLocator(java.lang.String publicid, java.lang.String systemid)
Reset the embedded locator.void
scan(java.io.Reader r, ScanHandler h)
Invoke a scanner.void
startCDATA()
Signal to the scanner to start CDATA content mode.
-
-
-
Method Detail
-
scan
void scan(java.io.Reader r, ScanHandler h) throws java.io.IOException, org.xml.sax.SAXException
Invoke a scanner.- Parameters:
r
- A source of characters to scanh
- A ScanHandler to report events to- Throws:
java.io.IOException
org.xml.sax.SAXException
-
resetDocumentLocator
void resetDocumentLocator(java.lang.String publicid, java.lang.String systemid)
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.
-
-