org.apache.velocity.anakia
Class OutputWrapper
XMLOutputter
org.apache.velocity.anakia.OutputWrapper
public class OutputWrapper
extends XMLOutputter
This class extends XMLOutputter in order to provide
a way to walk an Element tree into a String.
Version:
- Jon S. Stevens
- Sam Ruby
String | outputString(Element element, boolean strip) - This method walks an Element tree into a String.
|
OutputWrapper
public OutputWrapper()
Empty constructor
outputString
public String outputString(Element element,
boolean strip)
This method walks an Element tree into a String. The cool
thing about it is that it will strip off the first Element.
For example, if you have:
<td> foo <strong>bar</strong> ack </td>
It will output
foo <strong>bar</strong> ack </td>
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.