PageMixer API - 3.1

jp.ne.dti.lares.foozy.pagemixer.servlet
Class DefaultPageFactory

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.servlet.PageFactory
        |
        +--jp.ne.dti.lares.foozy.pagemixer.servlet.DefaultPageFactory

public class DefaultPageFactory
extends PageFactory

PageFactory implementation by "DefaultPage".

This implementation requires servlet 'init-param's shown below:

page.contentType:
used to construct DefaultPage.
page.encoding(optional):
used to construct DefaultPage.

Since:
PageMixer 3.0

Field Summary
static java.lang.String PARAM_CONTENT_TYPE
          Name of servlet init-param to create "DefaultPage".
static java.lang.String PARAM_ENCODING
          Name of servlet init-param to create "DefaultPage".
 
Constructor Summary
DefaultPageFactory()
          Constructor.
 
Method Summary
 Page setup(javax.servlet.http.HttpServlet servlet)
          Create "DefaultPage".
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.servlet.PageFactory
cleanup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_CONTENT_TYPE

public static final java.lang.String PARAM_CONTENT_TYPE
Name of servlet init-param to create "DefaultPage".

This has value "page.contentType".


PARAM_ENCODING

public static final java.lang.String PARAM_ENCODING
Name of servlet init-param to create "DefaultPage".

This has value "page.encoding".

Constructor Detail

DefaultPageFactory

public DefaultPageFactory()
Constructor.
Method Detail

setup

public Page setup(javax.servlet.http.HttpServlet servlet)
           throws javax.servlet.ServletException
Create "DefaultPage".
Overrides:
setup in class PageFactory
Parameters:
servlet - with which this object works
Throws:
javax.servlet.ServletException - if parameters are not specified

PageMixer API - 3.1