Package org.ccil.cowan.tagsoup
Class PYXScanner
java.lang.Object
org.ccil.cowan.tagsoup.PYXScanner
- All Implemented Interfaces:
Scanner
A Scanner that accepts PYX format instead of HTML.
Useful primarily for debugging.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidresetDocumentLocator(String publicid, String systemid) Reset the embedded locator.voidscan(Reader r, ScanHandler h) Invoke a scanner.voidSignal to the scanner to start CDATA content mode.
-
Constructor Details
-
PYXScanner
public PYXScanner()
-
-
Method Details
-
resetDocumentLocator
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
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
- Throws:
IOExceptionSAXException
-