Package org.ccil.cowan.tagsoup
Class PYXScanner
- java.lang.Object
-
- org.ccil.cowan.tagsoup.PYXScanner
-
-
Constructor Summary
Constructors Constructor Description PYXScanner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] argv)voidresetDocumentLocator(java.lang.String publicid, java.lang.String systemid)Reset the embedded locator.voidscan(java.io.Reader r, ScanHandler h)Invoke a scanner.voidstartCDATA()Signal to the scanner to start CDATA content mode.
-
-
-
Method Detail
-
resetDocumentLocator
public void resetDocumentLocator(java.lang.String publicid, java.lang.String systemid)Description copied from interface:ScannerReset the embedded locator.- Specified by:
resetDocumentLocatorin interfaceScanner- Parameters:
publicid- The publicid of the sourcesystemid- The systemid of the source
-
scan
public void scan(java.io.Reader r, ScanHandler h) throws java.io.IOException, org.xml.sax.SAXExceptionDescription copied from interface:ScannerInvoke a scanner.
-
startCDATA
public void startCDATA()
Description copied from interface:ScannerSignal to the scanner to start CDATA content mode.- Specified by:
startCDATAin interfaceScanner
-
main
public static void main(java.lang.String[] argv) throws java.io.IOException, org.xml.sax.SAXException- Throws:
java.io.IOExceptionorg.xml.sax.SAXException
-
-