public class BaseFileGenerator extends Objectimplements ContentGeneratable , LinkResolver
| Modifier and Type | Field and Description |
|---|---|
protected HtmlBuilder |
builder
|
protected Element |
content
|
protected Context |
context
|
protected WebPath |
path
|
| Constructor and Description |
|---|
BaseFileGenerator(Context
|
| Modifier and Type | Method and Description |
|---|---|
A |
a(WebPath
|
void |
generate()
|
HtmlBuilder |
getBuilder()
|
Element |
getContent()
|
String |
getLink(WebPath
|
WebPath |
getPath()
|
void |
setContent(Element
|
protected Contextcontext
protected WebPathpath
protected HtmlBuilderbuilder
protected Elementcontent
public void generate()
throws IOException
generate in interface
Generatable
IOException
public WebPathgetPath()
public HtmlBuildergetBuilder()
public ElementgetContent()
public void setContent(Elementcontent)