org.exolab.adaptx.xslt
public class XSLText extends XSLObject
Constructor Summary | |
---|---|
XSLText()
Creates a new XSLText element, with no data | |
XSLText(String data)
Creates a new XSLText with the given data |
Method Summary | |
---|---|
void | appendText(String data)
Appends the given String to the existing data of
this XSLText |
void | appendText(char[] chars, int start, int length)
Appends the given String to the existing data of
this XSLText |
boolean | disableOutputEscaping()
Returns true if the text should not be escaped |
String | getText()
Retrieves the text data of this XSLText |
void | setAttribute(String name, String value)
Sets the attribute with the given name to the given value. |
void | setText(String data)
Sets the text data of this XSLText |
void | setText(char[] chars, int start, int length)
Sets the text data of this XSLText |
Parameters: parentStylesheet the XSL Stylesheet in which this XSLText is to be added
Parameters: parentStylesheet the XSL Stylesheet in which this XSLText is to be added data the value of this XSLText object
Parameters: data the String to append
Parameters: chars an array of characters containing the data to apoend to this XSLText. start the start index into the character array length the number of characters
Returns: true if the text should not be escaped
Returns: the data of this XSLText
Parameters: name the name of the attribute to set value the value to set the attribute to
Throws: XSLException if this XSLObject does not allow attributes with the given name, or if the attribute is read only
Parameters: data the String to set the data of this XSLText to.
Parameters: chars an array of characters containing the data for this XSLText. start the start index into the character array length the number of characters