asit.framework.servlet.content
Class ContentFactory

java.lang.Object
  extended byasit.framework.servlet.content.ContentFactory
Direct Known Subclasses:
ContentFromXMLFactory, NotificationFactory, VerifyFileFactory, VerifyNotificationFactory

public abstract class ContentFactory
extends Object

Author:
troessler

Field Summary
protected  String contentDefaultEncoding_
           
protected  HttpServletRequest httpServletRequest_
           
protected  Properties messageProperties_
           
protected  String redirector_
           
 
Constructor Summary
ContentFactory(File messagepropertiesfile)
           
 
Method Summary
abstract  String getContent()
          interface used for a FrontEndServlet
abstract  String getContentTitle()
          interface used for a FrontEndServlet
abstract  String getDispatchTitle()
          interface used for a FrontEndServlet
abstract  String getPageTitle()
          interface used for a FrontEndServlet
 String getPropertyValue(String key)
           
 String getRedirector()
           
abstract  String getResponseString()
          interface used for a BackEndServlet
 void setHttpServletRequest(HttpServletRequest request)
           
abstract  String setHttpServletResponse(HttpServletResponse response)
          interface used for a BackEndServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messageProperties_

protected Properties messageProperties_

httpServletRequest_

protected HttpServletRequest httpServletRequest_

contentDefaultEncoding_

protected String contentDefaultEncoding_

redirector_

protected String redirector_
Constructor Detail

ContentFactory

public ContentFactory(File messagepropertiesfile)
               throws IOException
Parameters:
messagepropertiesfile -
Throws:
IOException
Method Detail

getRedirector

public String getRedirector()

getPropertyValue

public String getPropertyValue(String key)

getPageTitle

public abstract String getPageTitle()
interface used for a FrontEndServlet

Returns:

getDispatchTitle

public abstract String getDispatchTitle()
interface used for a FrontEndServlet

Returns:

getContentTitle

public abstract String getContentTitle()
interface used for a FrontEndServlet

Returns:

getContent

public abstract String getContent()
interface used for a FrontEndServlet

Returns:

setHttpServletResponse

public abstract String setHttpServletResponse(HttpServletResponse response)
interface used for a BackEndServlet

Returns:

getResponseString

public abstract String getResponseString()
interface used for a BackEndServlet

Returns:

setHttpServletRequest

public void setHttpServletRequest(HttpServletRequest request)


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.