org.exolab.adaptx.xslt.dom
public class XPNBuilder extends Object implements ResultHandler
Version: $Revision: 3916 $ $Date: 2003-09-29 15:32:17 -0400 (Mon, 29 Sep 2003) $
Constructor Summary | |
---|---|
XPNBuilder()
Creates a new XPNBuilder
| |
XPNBuilder(String documentURI)
Creates a new XPNBuilder
|
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 | endFragment() |
void | entityReference(String name)
Signals to recieve an entity reference with the given name |
XPathNode | getCurrentNode()
Returns the current node |
XPathNode | getRoot()
Returns the Root node
|
void | ignorableWhitespace(char[] chars, int start, int length)
Signals the start of ignorable whitespace characters |
boolean | isFinished()
Returns true if the DOM builder has completed |
void | processingInstruction(String target, String data)
Signals to recieve a processing instruction |
void | setDocumentLocator(Locator locator)
Sets the document locator |
void | setEscapeText(boolean escapeText)
Sets the behavoir of handling character content. |
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 | setSaveLocation(boolean saveLocation)
Sets whether or not to save location information. |
void | startDocument()
Signals the start of a document
|
void | startElement(String name, AttributeList atts)
Signals the start of element |
XPathNode | startFragment()
Starts a documentFragment and returns a handle to the fragment
This fragment won't be added to the DOM tree
|
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
Parameters: name the name of the entity reference
Returns: the current node
Returns: the root node
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
Returns: true if the DOM builder has completed
Parameters: target the target of the processing instruction data the content of the processing instruction
Parameters: locator the Locator used by this DocumentHandler
Parameters: escapeText the flag indicating whether or not to escape character content
Parameters: indentSize the number of characters to indent
Parameters: format the OutputFormat used to specify properties during serialization
Parameters: saveLocation a boolean that when true, indicates that location information should be saved if possible.
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