public class PYXWriter extends Object implements ScanHandler, ContentHandler, LexicalHandler
| Modifier and Type | Method and 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 declaration - typically a DOCTYPE
|
void |
endCDATA() |
void |
endDocument() |
void |
endDTD() |
void |
endElement(String uri,
String localname,
String qname) |
void |
endEntity(String name) |
void |
endPrefixMapping(String prefix) |
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 |
getEntity()
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 |
processingInstruction(String target,
String data) |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String name) |
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 |
startCDATA() |
void |
startDocument() |
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startElement(String uri,
String localname,
String qname,
Attributes atts) |
void |
startEntity(String name) |
void |
startPrefixMapping(String prefix,
String uri) |
public PYXWriter(Writer w)
public void adup(char[] buff,
int offset,
int length)
throws SAXException
ScanHandleradup in interface ScanHandlerSAXExceptionpublic void aname(char[] buff,
int offset,
int length)
throws SAXException
ScanHandleraname in interface ScanHandlerSAXExceptionpublic void aval(char[] buff,
int offset,
int length)
throws SAXException
ScanHandleraval in interface ScanHandlerSAXExceptionpublic void cmnt(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlercmnt in interface ScanHandlerSAXExceptionpublic void entity(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlerentity in interface ScanHandlerSAXExceptionpublic int getEntity()
ScanHandlergetEntity in interface ScanHandlerpublic void eof(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlereof in interface ScanHandlerSAXExceptionpublic void etag(char[] buff,
int offset,
int length)
throws SAXException
ScanHandleretag in interface ScanHandlerSAXExceptionpublic void decl(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlerdecl in interface ScanHandlerSAXExceptionpublic void gi(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlergi in interface ScanHandlerSAXExceptionpublic void cdsect(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlercdsect in interface ScanHandlerSAXExceptionpublic void pcdata(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlerpcdata in interface ScanHandlerSAXExceptionpublic void pitarget(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlerpitarget in interface ScanHandlerSAXExceptionpublic void pi(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlerpi in interface ScanHandlerSAXExceptionpublic void stagc(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlerstagc in interface ScanHandlerSAXExceptionpublic void stage(char[] buff,
int offset,
int length)
throws SAXException
ScanHandlerstage in interface ScanHandlerSAXExceptionpublic void characters(char[] buff,
int offset,
int length)
throws SAXException
characters in interface ContentHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic void endElement(String uri, String localname, String qname) throws SAXException
endElement in interface ContentHandlerSAXExceptionpublic void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionpublic void ignorableWhitespace(char[] buff,
int offset,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic void processingInstruction(String target, String data) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlerpublic void skippedEntity(String name) throws SAXException
skippedEntity in interface ContentHandlerSAXExceptionpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionpublic void startElement(String uri, String localname, String qname, Attributes atts) throws SAXException
startElement in interface ContentHandlerSAXExceptionpublic void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic void comment(char[] ch,
int start,
int length)
throws SAXException
comment in interface LexicalHandlerSAXExceptionpublic void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXExceptionpublic void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXExceptionpublic void endEntity(String name) throws SAXException
endEntity in interface LexicalHandlerSAXExceptionpublic void startCDATA()
throws SAXException
startCDATA in interface LexicalHandlerSAXExceptionpublic void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD in interface LexicalHandlerSAXExceptionpublic void startEntity(String name) throws SAXException
startEntity in interface LexicalHandlerSAXExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved