wt.enterprise
Class HTMLTemplateFactory

java.lang.Object
  extended bywt.enterprise.HTMLTemplateFactory
All Implemented Interfaces:
ApplicationContextChild

public class HTMLTemplateFactory
extends Object
implements ApplicationContextChild



Supported API: false

Extendable: false


Field Summary
private  String acceptLanguage
           
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
private  Object contextObject
           
private  String contextString
           
protected  char newFileSeparator
           
protected  char oldFileSeparator
           
private  Vector preferences
           
private  HTTPRequest req
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
HTMLTemplateFactory()
          Supported API: false
 
Method Summary
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: APPLICATION_CONTEXT.
 ApplicationContextServices getApplicationContextServices()
          Supported API: false
protected  HTMLTemplate getHTMLTemplate()
           
protected  String processTemplateName(String templateFileName)
           
 void setAcceptLanguage(String acceptLanguage)
           
 void setApplicationContext(ApplicationContext a_ApplicationContext)
          Sets the object for the association that plays role: APPLICATION_CONTEXT.
 void setContextObject(Object contextObj)
           
 void setContextString(String contextString)
           
 void setLanguagePreferences(Vector preferences)
           
 void setRequestObject(HTTPRequest req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

private static boolean VERBOSE

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

applicationContext

private ApplicationContext applicationContext

contextObject

private Object contextObject

contextString

private String contextString

preferences

private Vector preferences

acceptLanguage

private String acceptLanguage

req

private HTTPRequest req

oldFileSeparator

protected char oldFileSeparator

newFileSeparator

protected char newFileSeparator
Constructor Detail

HTMLTemplateFactory

public HTMLTemplateFactory()
                    throws UnableToLoadServiceProperties
Supported API: false

Throws:
UnableToLoadServiceProperties
Method Detail

setContextObject

public void setContextObject(Object contextObj)

setContextString

public void setContextString(String contextString)

setLanguagePreferences

public void setLanguagePreferences(Vector preferences)

setAcceptLanguage

public void setAcceptLanguage(String acceptLanguage)

setRequestObject

public void setRequestObject(HTTPRequest req)

getHTMLTemplate

protected HTMLTemplate getHTMLTemplate()
                                throws WTException
Throws:
WTException

processTemplateName

protected String processTemplateName(String templateFileName)

getApplicationContext

public ApplicationContext getApplicationContext()
Gets the object for the association that plays role: APPLICATION_CONTEXT.

Supported API: false

Specified by:
getApplicationContext in interface ApplicationContextChild
Returns:
ApplicationContext

setApplicationContext

public void setApplicationContext(ApplicationContext a_ApplicationContext)
                           throws WTPropertyVetoException
Sets the object for the association that plays role: APPLICATION_CONTEXT.

Supported API: false

Specified by:
setApplicationContext in interface ApplicationContextChild
Parameters:
a_ApplicationContext -
Throws:
WTPropertyVetoException

getApplicationContextServices

public ApplicationContextServices getApplicationContextServices()
Supported API: false

Throws:
WTPropertyVetoException