|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.format.render.AbstractRenderer
An abstract renderer.
Field Summary | |
protected org.apache.log4j.Logger |
log
The logger. |
protected java.io.Writer |
writer
Hold the final result. |
Constructor Summary | |
AbstractRenderer()
|
Method Summary | |
abstract void |
render(char[] chars,
int offset,
int length)
Render. |
void |
render(java.lang.String string)
Render. |
void |
setWriter(java.io.Writer writer)
Set the write that will hold the rendered result. |
protected void |
write(char[] chars,
int offset,
int length)
|
protected void |
write(java.lang.String s)
Helper method that catch any IOException throw by the write. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final org.apache.log4j.Logger log
protected java.io.Writer writer
Constructor Detail |
public AbstractRenderer()
Method Detail |
public abstract void render(char[] chars, int offset, int length)
public void render(java.lang.String string)
public final void setWriter(java.io.Writer writer)
protected final void write(java.lang.String s)
protected final void write(char[] chars, int offset, int length)
write(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |