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(String[] argv)voidresetDocumentLocator(String publicid, String systemid)Reset the embedded locator.voidscan(Reader r, ScanHandler h)Invoke a scanner.voidstartCDATA()Signal to the scanner to start CDATA content mode.
-
-
-
Method Detail
-
resetDocumentLocator
public void resetDocumentLocator(String publicid, 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(Reader r, ScanHandler h) throws IOException, SAXException
Description copied from interface:ScannerInvoke a scanner.- Specified by:
scanin interfaceScanner- Parameters:
r- A source of characters to scanh- A ScanHandler to report events to- Throws:
IOExceptionSAXException
-
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(String[] argv) throws IOException, SAXException
- Throws:
IOExceptionSAXException
-
-