public interface Scanner
Modifier and Type | Method and 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.
|
void scan(java.io.Reader r, ScanHandler h) throws java.io.IOException, org.xml.sax.SAXException
r
- A source of characters to scanh
- A ScanHandler to report events tojava.io.IOException
org.xml.sax.SAXException
void resetDocumentLocator(java.lang.String publicid, java.lang.String systemid)
publicid
- The publicid of the sourcesystemid
- The systemid of the sourcevoid startCDATA()
Licence: Academic Free License 3.0 and/or GPL 2.0