org.ccil.cowan.tagsoup
Class PYXScanner
java.lang.Object
org.ccil.cowan.tagsoup.PYXScanner
- Scanner
public class PYXScanner
extends java.lang.Object
A Scanner that accepts PYX format instead of HTML.
Useful primarily for debugging.
main
public static void main(String[] argv)
throws IOException,
SAXException
resetDocumentLocator
public void resetDocumentLocator(String publicid,
String systemid)
Reset the embedded locator.
- resetDocumentLocator in interface Scanner
publicid
- The publicid of the sourcesystemid
- The systemid of the source
scan
public void scan(Reader r,
ScanHandler h)
throws IOException,
SAXException
Invoke a scanner.
- scan in interface Scanner
r
- A source of characters to scanh
- A ScanHandler to report events to
startCDATA
public void startCDATA()
Signal to the scanner to start CDATA content mode.
- startCDATA in interface Scanner
Licence: Academic Free License 3.0 and/or GPL 2.0