|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.xml.ParsedXMLHandler gnu.xml.ParsedXMLToConsumer
public class ParsedXMLToConsumer
Field Summary | |
---|---|
boolean |
namespacePrefixes
True if namespace declarations should be passed through as attributes. |
Constructor Summary | |
---|---|
ParsedXMLToConsumer(Consumer out)
|
Method Summary | |
---|---|
void |
emitBeginAttribute(char[] data,
int start,
int count)
Process an attribute, with the given attribute name. |
void |
emitBeginElement(char[] data,
int start,
int count)
Process a start tag, with the given element name. |
void |
emitCDATA(char[] data,
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[] data,
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[] data,
int start,
int length)
Process an end tag. |
void |
emitEntityReference(char[] name,
int start,
int length)
Handles the predefined entities, such as "<" and """. |
void |
emitProcessingInstruction(char[] buffer,
int tstart,
int tlength,
int dstart,
int dlength)
Process a processing incluction. |
void |
setParser(XMLParserChar parser)
|
void |
writeBoolean(boolean v)
|
void |
writeDouble(double v)
|
void |
writeFloat(float v)
|
void |
writeInt(int v)
|
void |
writeLong(long v)
|
void |
writeObject(java.lang.Object v)
|
Methods inherited from class gnu.xml.ParsedXMLHandler |
---|
error, error |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean namespacePrefixes
Constructor Detail |
---|
public ParsedXMLToConsumer(Consumer out)
Method Detail |
---|
public void setParser(XMLParserChar parser)
public void writeBoolean(boolean v)
public void writeFloat(float v)
public void writeDouble(double v)
public void writeInt(int v)
public void writeLong(long v)
public void writeObject(java.lang.Object v)
public void emitCharacters(char[] data, int start, int length)
ParsedXMLHandler
emitCharacters
in class ParsedXMLHandler
public void emitCDATA(char[] data, int start, int length)
ParsedXMLHandler
emitCDATA
in class ParsedXMLHandler
public void emitBeginElement(char[] data, int start, int count)
ParsedXMLHandler
emitBeginElement
in class ParsedXMLHandler
public void emitBeginAttribute(char[] data, int start, int count)
ParsedXMLHandler
emitBeginAttribute
in class ParsedXMLHandler
public void emitEndAttributes()
ParsedXMLHandler
emitEndAttributes
in class ParsedXMLHandler
public void emitEndElement(char[] data, int start, int length)
ParsedXMLHandler
emitEndElement
in class ParsedXMLHandler
public void emitEntityReference(char[] name, int start, int length)
emitEntityReference
in class ParsedXMLHandler
public void emitCharacterReference(int value, char[] name, int start, int length)
ParsedXMLHandler
emitCharacterReference
in class ParsedXMLHandler
public void emitComment(char[] data, int start, int length)
ParsedXMLHandler
emitComment
in class ParsedXMLHandler
public void emitProcessingInstruction(char[] buffer, int tstart, int tlength, int dstart, int dlength)
emitProcessingInstruction
in class ParsedXMLHandler
public void emitDoctypeDecl(char[] buffer, int target, int tlength, int data, int dlength)
emitDoctypeDecl
in class ParsedXMLHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |