org.exolab.adaptx.xslt.handlers
public class DefaultHandler extends Object implements ContentHandler, ResultHandler
Version: $Revision: 4774 $ $Date: 2004-09-28 15:28:19 -0400 (Tue, 28 Sep 2004) $
Constructor Summary | |
---|---|
DefaultHandler(Writer out)
Creates a new DefaultHandler | |
DefaultHandler(OutputStream out)
Creates a new DefaultHandler | |
DefaultHandler(Writer out, OutputFormat format)
Creates a new DefaultHandler | |
DefaultHandler(OutputStream out, OutputFormat format)
Creates a new DefaultHandler |
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 start of element |
void | endElement(String namespaceURI, String localName, String qName) ContentHandler#endElement Signals the end of an element |
void | endPrefixMapping(String prefix)
Signals to end the namespace prefix mapping
|
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 | setOutputFormat(OutputFormat format)
Sets the output format information for Formatters that
perform serialization. |
void | skippedEntity(String name)
Signals that an entity was skipped by the parser
|
void | startDocument()
Signals the start of a document
|
void | startElement(String name, AttributeList atts)
Signals the start of element |
void | startElement(String namespaceURI, String localName, String qName, Attributes atts) ContentHandler#startElement Signals the start of element |
void | startPrefixMapping(String prefix, String uri)
Signals to start the namespace - prefix mapping
|
void | unescapedCharacters(char[] chars, int start, int length)
Signals to receive characters which should not be escaped |
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 name of the element atts the AttributeList containing the associated attributes for the element
ContentHandler#endElement
Signals the end of an elementParameters: name the name of the element
Parameters: prefix the namespace prefix
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: format the OutputFormat used to specify properties during serialization
Parameters: name the skipped entity's name
Parameters: name the name of the element atts the AttributeList containing the associated attributes for the element
ContentHandler#startElement
Signals the start of elementParameters: name the name of the element atts the AttributeList containing the associated attributes for the element
Parameters: prefix the namespace prefix to map uri the namespace URI
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