org.xml.sax.DocumentHandler
DefaultHandler
, DOMBuilder
, ResultHandlerAdapter
, ResultHandlerAdapter2
, XPNBuilder
public interface ResultHandler
extends org.xml.sax.DocumentHandler
Modifier and Type | Method | Description |
---|---|---|
void |
cdata(char[] chars,
int start,
int length) |
Signals to receive CDATA characters
|
void |
comment(java.lang.String data) |
Signals to recieve a comment
|
void |
entityReference(java.lang.String name) |
Signals to recieve an entity reference with the given name
|
void |
setIndentSize(short indentSize) |
Sets the indent size for all formatters that perform
serialization, in which indentation is applicable.
|
void |
setOutputFormat(OutputFormat format) |
Sets the output format information for Formatters that
perform serialization.
|
void |
unescapedCharacters(char[] chars,
int start,
int length) |
Signals to receive characters which should not be escaped
|
void cdata(char[] chars, int start, int length)
chars
- the character array containing the characters
to receivestart
- the index into the character array to start receiving
characters atlength
- the number of characters to recievevoid comment(java.lang.String data)
data
- , the content of the commentvoid entityReference(java.lang.String name)
name
- the name of the entity referencevoid setIndentSize(short indentSize)
indentSize
- the number of characters to indentvoid setOutputFormat(OutputFormat format)
format
- the OutputFormat used to specify properties
during serializationvoid unescapedCharacters(char[] chars, int start, int length)
chars
- the character array containing the characters
to receivestart
- the index into the character array to start receiving
characters atlength
- the number of characters to recieve