org.exolab.adaptx.xslt.handlers
public class ResultHandlerAdapter2 extends Object implements ResultHandler
Version: $Revision: 4779 $ $Date: 2004-09-30 04:19:31 -0400 (Thu, 30 Sep 2004) $
Constructor Summary | |
---|---|
ResultHandlerAdapter2(ContentHandler handler)
Creates a new ResultHandlerAdapter2 with the given
ContentHandler
|
Method Summary | |
---|---|
void | cdata(char[] chars, int start, int length)
Signals to receive CDATA characters |
void | characters(char[] chars, int start, int length)
Signals the start of characters |
void | comment(String data) |
void | endDocument()
Signals the end of the document
|
void | endElement(String name)
Signals the end of element
|
void | entityReference(String name)
Signals to recieve an entity reference with the given name |
void | ignorableWhitespace(char[] chars, int start, int length)
Signals the start of ignorable whitespace characters |
void | processingInstruction(String target, String data)
Signals to recieve a processing instruction |
void | setDocumentLocator(Locator locator)
Sets the document locator |
void | setIndentSize(short indentSize)
Sets the indent size for all formatters that perform
serialization, in which indentation is applicable. |
void | setLexicalHandler(LexicalHandler lexHandler)
Sets the given LexicalHandler to handle special events,
such as comments.
|
void | setOutputFormat(OutputFormat format)
Sets the output format information for Formatters that
perform serialization. |
void | startDocument()
Signals the start of a document
|
void | startElement(String name, AttributeList atts)
Signals the start of element |
void | unescapedCharacters(char[] chars, int start, int length)
Signals to receive characters which should not be escaped |
Parameters: handler the ContentHandler to "adapt".
Parameters: chars the character array containing the characters to receive start the index into the character array to start receiving characters at length the number of characters to recieve
Parameters: chars the character array containing the characters to receive start the index into the character array to start receiving characters at length the number of characters to recieve
Parameters: name the qualified name of the element
Parameters: name the name of the entity reference
Parameters: chars the character array containing the characters to receive start the index into the character array to start receiving characters at length the number of characters to recieve
Parameters: target the target of the processing instruction data the content of the processing instruction
Parameters: locator the Locator used by this DocumentHandler
Parameters: indentSize the number of characters to indent
Parameters: lexHandler the LexicalHandler. May be null.
Parameters: format the OutputFormat used to specify properties during serialization
Parameters: name the name of the element atts the AttributeList containing the associated attributes for the element
Parameters: chars the character array containing the characters to receive start the index into the character array to start receiving characters at length the number of characters to recieve