PageMixer API - 3.1

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

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

public class MonoPageFactory
extends PageFactory

PageFactory implementation by "MonoPage".

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

page.location(optional):
used to construct MonoPage
page.contentType:
used to construct MonoPage
page.encoding(optional):
used to construct MonoPage

Since:
PageMixer 3.0

Field Summary
static java.lang.String PARAM_CONTENT_TYPE
          Name of servlet init-param to create "MonoPage".
static java.lang.String PARAM_ENCODING
          Name of servlet init-param to create "MonoPage".
static java.lang.String PARAM_LOCATION
          Name of servlet init-param to create "MonoPage".
 
Constructor Summary
MonoPageFactory()
          Constructor.
 
Method Summary
 Page setup(javax.servlet.http.HttpServlet servlet)
          Create "LocalePage".
 
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_LOCATION

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

This has value "page.location".


PARAM_CONTENT_TYPE

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

This has value "page.contentType".


PARAM_ENCODING

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

This has value "page.encoding".

Constructor Detail

MonoPageFactory

public MonoPageFactory()
Constructor.
Method Detail

setup

public Page setup(javax.servlet.http.HttpServlet servlet)
           throws javax.servlet.ServletException
Create "LocalePage".

This implementation create MonoPage.

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