public class BlockRenderer extends Object implements Renderer, Appendable
<!--$beginblock$myblock$-->
and <!--$endblock$myblock$-->
separatorsConstructor and Description |
---|
BlockRenderer(String name,
String page) |
Modifier and Type | Method and Description |
---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence csq) |
Appendable |
append(CharSequence csq,
int start,
int end) |
String |
getName() |
void |
render(DriverRequest httpRequest,
String content,
Writer pOut)
Renders provided source and writes results to the output.
|
void |
setWrite(boolean write) |
public void setWrite(boolean write)
public String getName()
public void render(DriverRequest httpRequest, String content, Writer pOut) throws IOException, HttpErrorPage
render
in interface Renderer
httpRequest
- request received by esigate.content
- source to be renderedpOut
- output destination. This writer is not thread-safe, use proper synchronization if writing output from
multiple threads.IOException
HttpErrorPage
public Appendable append(CharSequence csq) throws IOException
append
in interface Appendable
IOException
public Appendable append(char c) throws IOException
append
in interface Appendable
IOException
public Appendable append(CharSequence csq, int start, int end) throws IOException
append
in interface Appendable
IOException
Copyright © 2008–2018. All rights reserved.