|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ideo.sweetdevria.builder.ComponentBuilder
public class ComponentBuilder
Constructor Summary | |
---|---|
ComponentBuilder()
Default constructor. |
Method Summary | |
---|---|
void |
addContext(java.util.Map params)
Add entries to the context. |
void |
addContext(java.lang.String key,
java.lang.Object value)
Add an entry to the context. |
void |
buildEnd(java.io.Writer writer)
Build the end part, using default Velocity template. |
void |
buildEnd(java.io.Writer writer,
java.lang.String velocityTemplatePath)
Build the start part using Velocity template given by parameter. |
void |
buildStart(java.io.Writer writer)
Build the start part, using default Velocity template. |
void |
buildStart(java.io.Writer writer,
java.lang.String velocityTemplatePath)
Build the start part using Velocity template given by parameter. |
BuilderConfig |
getConfig()
Get the config. |
RIAContext |
getInternalContext()
Get the internalContext. |
void |
setConfig(BuilderConfig config)
Set the config. |
void |
setInternalContext(RIAContext internalContext)
Set the internalContext. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentBuilder()
Method Detail |
---|
public RIAContext getInternalContext()
public void setInternalContext(RIAContext internalContext)
internalContext
- The internalContext to set.public void addContext(java.util.Map params)
params
- public void addContext(java.lang.String key, java.lang.Object value)
key
- value
- public BuilderConfig getConfig()
public void setConfig(BuilderConfig config)
config
- The config to set.public void buildStart(java.io.Writer writer) throws java.lang.Exception
writer
-
java.lang.Exception
public void buildEnd(java.io.Writer writer) throws java.lang.Exception
writer
-
java.lang.Exception
public void buildStart(java.io.Writer writer, java.lang.String velocityTemplatePath) throws java.lang.Exception
writer
- velocityTemplatePath
- Velocity template path.
java.lang.Exception
public void buildEnd(java.io.Writer writer, java.lang.String velocityTemplatePath) throws java.lang.Exception
writer
- velocityTemplatePath
- Velocity template path.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |