Class PYXWriter

java.lang.Object
org.ccil.cowan.tagsoup.PYXWriter
All Implemented Interfaces:
ScanHandler, ContentHandler, LexicalHandler

public class PYXWriter extends Object implements ScanHandler, ContentHandler, LexicalHandler
A ContentHandler that generates PYX format instead of XML. Primarily useful for debugging.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    adup(char[] buff, int offset, int length)
    Reports an attribute name without a value.
    void
    aname(char[] buff, int offset, int length)
    Reports an attribute name; a value will follow.
    void
    aval(char[] buff, int offset, int length)
    Reports an attribute value.
    void
    cdsect(char[] buff, int offset, int length)
    Reports the content of a CDATA section (not a CDATA element)
    void
    characters(char[] buff, int offset, int length)
     
    void
    cmnt(char[] buff, int offset, int length)
    Reports a comment.
    void
    comment(char[] ch, int start, int length)
     
    void
    decl(char[] buff, int offset, int length)
    Reports a invalid input: '<!'....> declaration - typically a DOCTYPE
    void
     
    void
     
    void
     
    void
    endElement(String uri, String localname, String qname)
     
    void
     
    void
     
    void
    entity(char[] buff, int offset, int length)
    Reports an entity reference or character reference.
    void
    eof(char[] buff, int offset, int length)
    Reports EOF.
    void
    etag(char[] buff, int offset, int length)
    Reports an end-tag.
    int
    Returns the value of the last entity or character reference reported.
    void
    gi(char[] buff, int offset, int length)
    Reports the general identifier (element type name) of a start-tag.
    void
    ignorableWhitespace(char[] buff, int offset, int length)
     
    void
    pcdata(char[] buff, int offset, int length)
    Reports character content.
    void
    pi(char[] buff, int offset, int length)
    Reports the data part of a processing instruction.
    void
    pitarget(char[] buff, int offset, int length)
    Reports the target part of a processing instruction.
    void
     
    void
     
    void
     
    void
    stagc(char[] buff, int offset, int length)
    Reports the close of a start-tag.
    void
    stage(char[] buff, int offset, int length)
    Reports the close of an empty-tag.
    void
     
    void
     
    void
    startDTD(String name, String publicId, String systemId)
     
    void
    startElement(String uri, String localname, String qname, Attributes atts)
     
    void
     
    void
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.xml.sax.ContentHandler

    declaration