| com.caucho.widget.WidgetWriter
WidgetWriter | public class WidgetWriter extends FastPrintWriter (Code) | | |
Field Summary | |
final protected static Logger | log |
close | public void close()(Code) | | |
closeElementIfNeeded | protected void closeElementIfNeeded()(Code) | | |
endElement | public void endElement(String name, boolean newline) throws IOException(Code) | | Parameters: name - the name of the element Parameters: newline - write a newline after closing the element, unlesscompact rendering has been set |
flush | public void flush()(Code) | | Write the '%gt;' of an element if needed, but do not flush the underlying
writer.
|
setCompact | public void setCompact(boolean compact)(Code) | | If true do not print unnecessary newlines, default false.
|
startElement | public void startElement(String name, boolean newline) throws IOException(Code) | | Parameters: name - the name of the element Parameters: newline - write a newline after starting the element, unlesscompact rendering has been set. |
writeText | public void writeText(Object object) throws IOException(Code) | | Write the toString() of the object, escaping as needed
|
writeText | public void writeText(char buf) throws IOException(Code) | | Write the char[], escaping as needed
|
writeText | public void writeText(char buf, int offset, int length) throws IOException(Code) | | Write the char[], escaping as needed
|
|
|