Class PYXScanner

  • All Implemented Interfaces:
    Scanner

    public class PYXScanner
    extends java.lang.Object
    implements Scanner
    A Scanner that accepts PYX format instead of HTML. Useful primarily for debugging.
    • Constructor Summary

      Constructors 
      Constructor Description
      PYXScanner()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] argv)  
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PYXScanner

        public PYXScanner()
    • Method Detail

      • resetDocumentLocator

        public void resetDocumentLocator​(java.lang.String publicid,
                                         java.lang.String systemid)
        Description copied from interface: Scanner
        Reset the embedded locator.
        Specified by:
        resetDocumentLocator in interface Scanner
        Parameters:
        publicid - The publicid of the source
        systemid - The systemid of the source
      • scan

        public void scan​(java.io.Reader r,
                         ScanHandler h)
                  throws java.io.IOException,
                         org.xml.sax.SAXException
        Description copied from interface: Scanner
        Invoke a scanner.
        Specified by:
        scan in interface Scanner
        Parameters:
        r - A source of characters to scan
        h - A ScanHandler to report events to
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
      • startCDATA

        public void startCDATA()
        Description copied from interface: Scanner
        Signal to the scanner to start CDATA content mode.
        Specified by:
        startCDATA in interface Scanner
      • main

        public static void main​(java.lang.String[] argv)
                         throws java.io.IOException,
                                org.xml.sax.SAXException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException