|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.niggle.templates.velocityimpl.VelocityPageFactory
A concrete PageFactory type that vends Page objects that wrap Velocity template objects
| Field Summary | |
protected java.lang.ClassLoader |
classLoader
Deprecated. |
| Constructor Summary | |
VelocityPageFactory()
Deprecated. |
|
| Method Summary | |
protected org.apache.velocity.context.Context |
getContext()
Deprecated. |
Page |
getPage(java.lang.String name,
java.util.Locale locale)
Deprecated. Returns a Page. |
protected org.apache.velocity.Template |
getTemplate(java.lang.String name,
java.lang.String encoding)
Deprecated. |
void |
setConfig(NiggleConfig config)
Deprecated. pass a copy of the NiggleConfig object for setup info. |
void |
setDefaultPath(java.lang.String path)
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.ClassLoader classLoader
| Constructor Detail |
public VelocityPageFactory()
| Method Detail |
public Page getPage(java.lang.String name,
java.util.Locale locale)
throws java.io.IOException
PageFactory
getPage in interface PageFactoryname - a string that somehow identifies the page. May or
may not be related to a file system name.locale - the place for which the page is intended.
java.io.IOException - thrown if a necessary underlying resource is
unavailable.
protected org.apache.velocity.Template getTemplate(java.lang.String name,
java.lang.String encoding)
protected org.apache.velocity.context.Context getContext()
public void setDefaultPath(java.lang.String path)
setDefaultPath in interface PageFactory
public void setConfig(NiggleConfig config)
throws javax.servlet.ServletException
PageFactory
setConfig in interface PageFactoryjavax.servlet.ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||