|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.xml.ParsedXMLHandler
public class ParsedXMLHandler
Handle the output from XMLParser, or other char-array-oriented XML source.
Constructor Summary | |
---|---|
ParsedXMLHandler()
|
Method Summary | |
---|---|
void |
emitBeginAttribute(char[] name,
int start,
int length)
Process an attribute, with the given attribute name. |
void |
emitBeginElement(char[] name,
int start,
int length)
Process a start tag, with the given element name. |
void |
emitCDATA(char[] text,
int start,
int length)
Process a CDATA section. |
void |
emitCharacterReference(int value,
char[] name,
int start,
int length)
Process a character entity reference. |
void |
emitCharacters(char[] text,
int start,
int length)
Process raw text. |
void |
emitComment(char[] data,
int start,
int length)
Process a comment. |
void |
emitDoctypeDecl(char[] buffer,
int target,
int tlength,
int data,
int dlength)
Process a DOCTYPE declaration. |
void |
emitEndAttributes()
Process the end of a start tag. |
void |
emitEndElement(char[] name,
int start,
int length)
Process an end tag. |
void |
emitEntityReference(char[] name,
int start,
int length)
Process an entity reference. |
void |
emitProcessingInstruction(char[] buffer,
int target,
int tlength,
int data,
int dlength)
Process a processing incluction. |
void |
error(XMLParserChar parser,
java.lang.String message)
|
static void |
error(XMLParserChar parser,
java.lang.String message,
java.lang.StringBuffer sbuf)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParsedXMLHandler()
Method Detail |
---|
public void emitCharacters(char[] text, int start, int length)
public void emitBeginElement(char[] name, int start, int length)
public void emitBeginAttribute(char[] name, int start, int length)
public void emitEndAttributes()
public void emitEndElement(char[] name, int start, int length)
public void emitEntityReference(char[] name, int start, int length)
public void emitCharacterReference(int value, char[] name, int start, int length)
public void emitComment(char[] data, int start, int length)
public void emitCDATA(char[] text, int start, int length)
public void emitProcessingInstruction(char[] buffer, int target, int tlength, int data, int dlength)
public void emitDoctypeDecl(char[] buffer, int target, int tlength, int data, int dlength)
public void error(XMLParserChar parser, java.lang.String message)
public static void error(XMLParserChar parser, java.lang.String message, java.lang.StringBuffer sbuf)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |