A ContentHandler that generates PYX format instead of XML.
Primarily useful for debugging.
adup
public void adup(char[] buff,
int offset,
int length)
throws SAXException
Reports an attribute name without a value.
- adup in interface ScanHandler
aname
public void aname(char[] buff,
int offset,
int length)
throws SAXException
Reports an attribute name; a value will follow.
- aname in interface ScanHandler
aval
public void aval(char[] buff,
int offset,
int length)
throws SAXException
Reports an attribute value.
- aval in interface ScanHandler
characters
public void characters(char[] buff,
int offset,
int length)
throws SAXException
cmnt
public void cmnt(char[] buff,
int offset,
int length)
throws SAXException
Reports a comment.
- cmnt in interface ScanHandler
comment
public void comment(char[] ch,
int start,
int length)
throws SAXException
decl
public void decl(char[] buff,
int offset,
int length)
throws SAXException
Reports a <!....> declaration - typically a DOCTYPE
- decl in interface ScanHandler
endCDATA
public void endCDATA()
throws SAXException
endDTD
public void endDTD()
throws SAXException
endDocument
public void endDocument()
throws SAXException
endElement
public void endElement(String uri,
String localname,
String qname)
throws SAXException
endEntity
public void endEntity(String name)
throws SAXException
endPrefixMapping
public void endPrefixMapping(String prefix)
throws SAXException
entity
public void entity(char[] buff,
int offset,
int length)
throws SAXException
Reports an entity reference or character reference.
- entity in interface ScanHandler
eof
public void eof(char[] buff,
int offset,
int length)
throws SAXException
Reports EOF.
- eof in interface ScanHandler
etag
public void etag(char[] buff,
int offset,
int length)
throws SAXException
Reports an end-tag.
- etag in interface ScanHandler
getEntity
public char getEntity()
Returns the value of the last entity or character reference reported.
- getEntity in interface ScanHandler
gi
public void gi(char[] buff,
int offset,
int length)
throws SAXException
Reports the general identifier (element type name) of a start-tag.
- gi in interface ScanHandler
ignorableWhitespace
public void ignorableWhitespace(char[] buff,
int offset,
int length)
throws SAXException
pcdata
public void pcdata(char[] buff,
int offset,
int length)
throws SAXException
Reports character content.
- pcdata in interface ScanHandler
pi
public void pi(char[] buff,
int offset,
int length)
throws SAXException
Reports the data part of a processing instruction.
- pi in interface ScanHandler
pitarget
public void pitarget(char[] buff,
int offset,
int length)
throws SAXException
Reports the target part of a processing instruction.
- pitarget in interface ScanHandler
processingInstruction
public void processingInstruction(String target,
String data)
throws SAXException
setDocumentLocator
public void setDocumentLocator(Locator locator)
skippedEntity
public void skippedEntity(String name)
throws SAXException
stagc
public void stagc(char[] buff,
int offset,
int length)
throws SAXException
Reports the close of a start-tag.
- stagc in interface ScanHandler
stage
public void stage(char[] buff,
int offset,
int length)
throws SAXException
Reports the close of an empty-tag.
- stage in interface ScanHandler
startCDATA
public void startCDATA()
throws SAXException
startDTD
public void startDTD(String name,
String publicId,
String systemId)
throws SAXException
startDocument
public void startDocument()
throws SAXException
startElement
public void startElement(String uri,
String localname,
String qname,
Attributes atts)
throws SAXException
startEntity
public void startEntity(String name)
throws SAXException
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
throws SAXException