org.niggle.templates.webmacroimpl
Class WebMacroPageFactory
java.lang.Object
  |
  +--org.niggle.templates.webmacroimpl.WebMacroPageFactory
- All Implemented Interfaces: 
- PageFactory
- public class WebMacroPageFactory- extends java.lang.Object- implements PageFactory
A concrete PageFactory type that vends Page objects
 that wrap WebMacro template objects
- Author:
- Jonathan Revusky
| Field Summary | 
| protected  java.lang.ClassLoader | classLoader
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
classLoader
protected java.lang.ClassLoader classLoader
WebMacroPageFactory
public WebMacroPageFactory()
getPage
public Page getPage(java.lang.String name,
                    java.util.Locale locale)
             throws java.io.IOException
- Description copied from interface: PageFactory
- Returns a Page.
 
- 
- Specified by:
- getPagein interface- PageFactory
 
- 
- Parameters:
- name- 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.
- Returns:
- a Page
- Throws:
- java.io.IOException- thrown if a necessary underlying resource is
  unavailable.
 
setConfig
public void setConfig(NiggleConfig config)
               throws javax.servlet.ServletException
- Description copied from interface: PageFactory
- pass a copy of the NiggleConfig object 
 for setup info.
 
- 
- Specified by:
- setConfigin interface- PageFactory
 
- 
- javax.servlet.ServletException
 
setDefaultPath
public void setDefaultPath(java.lang.String path)
- 
- Specified by:
- setDefaultPathin interface- PageFactory
 
-