|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.templateutil.processor.AbstractHTMLTemplateFactory
public abstract class AbstractHTMLTemplateFactory
Deprecation Notice: This class is still valid for this release, however this serves as advance notice that it will be removed in the future. All user interfaces built using the Windchill HTML Template Processing client architecture will be rewritten using a different framework in an upcoming release. Parent class of the HTML Template Factories. This class provides the the basic methods and the basic services that an HTML Template Factory needs. This class implements the ContextHolder interface so that this service may be state driven. This class also implements the ApplicationContextChild interface so that a properties file may be used as a registry for the HTML Templates.
The getHTMLTemplate needs to be implemented by the concrete subclass.
Please see the Customizer's Guide or the HTML Template Factory HOWTO
for more details of using
this service
Supported API: true
Extendable: false
| Field Summary |
|---|
| Fields inherited from interface wt.templateutil.processor.ContextHolder |
|---|
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS |
| Constructor Summary | |
|---|---|
AbstractHTMLTemplateFactory()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
copyContextFrom(ContextHolder contextHolder)
Deprecated. |
String |
getContextAction()
Deprecated. |
String |
getContextClassName()
Deprecated. |
Object |
getContextObj()
Deprecated. |
Properties |
getContextProperties()
Deprecated. |
Properties |
getFormData()
Deprecated. |
abstract wt.htmlutil.HTMLTemplate |
getHTMLTemplate()
Deprecated. |
Vector |
getLanguagePreferences()
Deprecated. |
Locale |
getLocale()
Deprecated. |
Properties |
getQueryData()
Deprecated. |
Vector |
getResponseExceptions()
Deprecated. |
Vector |
getResponseFooters()
Deprecated. |
Vector |
getResponseHeaders()
Deprecated. |
Vector |
getResponseMessages()
Deprecated. |
String |
getResponseString()
Deprecated. |
String |
getServiceName()
Deprecated. |
int |
getStatus()
Deprecated. |
void |
setContextAction(String a_ContextAction)
Deprecated. |
void |
setContextClassName(String a_ContextClassName)
Deprecated. |
void |
setContextObj(Object a_ContextObj)
Deprecated. |
void |
setContextProperties(Properties a_ContextProperties)
Deprecated. |
void |
setFormData(Properties a_FormData)
Deprecated. |
void |
setLanguagePreferences(HTTPRequest request)
Deprecated. |
void |
setLanguagePreferences(String languagePrefStr)
Deprecated. |
void |
setLanguagePreferences(Vector a_LanguagePreferences)
Deprecated. |
void |
setLocale(Locale a_Locale)
Deprecated. |
void |
setQueryData(Properties a_QueryData)
Deprecated. |
void |
setResponseExceptions(Vector a_ResponseExceptions)
Deprecated. |
void |
setResponseFooters(Vector a_ResponseFooters)
Deprecated. |
void |
setResponseHeaders(Vector a_ResponseHeaders)
Deprecated. |
void |
setResponseMessages(Vector a_ResponseMessages)
Deprecated. |
void |
setResponseString(String a_ResponseString)
Deprecated. |
void |
setServiceName(String a_ServiceName)
Deprecated. |
void |
setStatus(int a_Status)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractHTMLTemplateFactory()
throws wt.services.applicationcontext.implementation.UnableToLoadServiceProperties
wt.services.applicationcontext.implementation.UnableToLoadServiceProperties| Method Detail |
|---|
public Vector getLanguagePreferences()
public void setLanguagePreferences(Vector a_LanguagePreferences)
a_LanguagePreferences - public String getServiceName()
public void setServiceName(String a_ServiceName)
a_ServiceName - public Locale getLocale()
public void setLocale(Locale a_Locale)
a_Locale -
public abstract wt.htmlutil.HTMLTemplate getHTMLTemplate()
throws WTException
This method must be overriden by a concrete subclass.
Supported API: true
WTExceptionpublic void setLanguagePreferences(String languagePrefStr)
languagePrefStr - public void setLanguagePreferences(HTTPRequest request)
request - public void copyContextFrom(ContextHolder contextHolder)
contextHolder - public String getContextAction()
getContextAction in interface ContextHolderpublic void setContextAction(String a_ContextAction)
setContextAction in interface ContextHoldera_ContextAction - public Object getContextObj()
getContextObj in interface ContextHolderpublic void setContextObj(Object a_ContextObj)
setContextObj in interface ContextHoldera_ContextObj - public String getContextClassName()
getContextClassName in interface ContextHolderpublic void setContextClassName(String a_ContextClassName)
setContextClassName in interface ContextHoldera_ContextClassName - public Properties getContextProperties()
getContextProperties in interface ContextHolderpublic void setContextProperties(Properties a_ContextProperties)
setContextProperties in interface ContextHoldera_ContextProperties - public Vector getResponseExceptions()
getResponseExceptions in interface ContextHolderpublic void setResponseExceptions(Vector a_ResponseExceptions)
setResponseExceptions in interface ContextHoldera_ResponseExceptions - public Vector getResponseFooters()
getResponseFooters in interface ContextHolderpublic void setResponseFooters(Vector a_ResponseFooters)
setResponseFooters in interface ContextHoldera_ResponseFooters - public Vector getResponseHeaders()
getResponseHeaders in interface ContextHolderpublic void setResponseHeaders(Vector a_ResponseHeaders)
setResponseHeaders in interface ContextHoldera_ResponseHeaders - public Vector getResponseMessages()
getResponseMessages in interface ContextHolderpublic void setResponseMessages(Vector a_ResponseMessages)
setResponseMessages in interface ContextHoldera_ResponseMessages - public String getResponseString()
getResponseString in interface ContextHolderpublic void setResponseString(String a_ResponseString)
setResponseString in interface ContextHoldera_ResponseString - public int getStatus()
getStatus in interface ContextHolderpublic void setStatus(int a_Status)
setStatus in interface ContextHoldera_Status - public Properties getFormData()
getFormData in interface ContextHolderpublic void setFormData(Properties a_FormData)
setFormData in interface ContextHoldera_FormData - public Properties getQueryData()
getQueryData in interface ContextHolderpublic void setQueryData(Properties a_QueryData)
setQueryData in interface ContextHoldera_QueryData -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||