wt.templateutil.processor
Class DefaultHTMLTemplateFactory

java.lang.Object
  extended by wt.templateutil.processor.AbstractHTMLTemplateFactory
      extended by wt.templateutil.processor.DefaultHTMLTemplateFactory
All Implemented Interfaces:
wt.services.applicationcontext.ApplicationContextChild, ContextHolder, TemplateNameProcessor
Direct Known Subclasses:
HelpHTMLTemplateFactory

Deprecated.

public class DefaultHTMLTemplateFactory
extends AbstractHTMLTemplateFactory
implements TemplateNameProcessor

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.

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
DefaultHTMLTemplateFactory()
          Deprecated.  
 
Method Summary
 wt.htmlutil.HTMLTemplate getHTMLTemplate()
          Deprecated. Returns a localized instance of an HTMLTemplate object based on an entry in a *.properties file that was selected based on the locale, the service name, and the action/class pair.
 String processTemplateName(String templateFileName)
          Deprecated.  
 void setNameProcessor(TemplateNameProcessor a_NameProcessor)
          Deprecated. Sets the object for the association that plays role: nameProcessor.
 
Methods inherited from class wt.templateutil.processor.AbstractHTMLTemplateFactory
copyContextFrom, getContextAction, getContextClassName, getContextObj, getContextProperties, getFormData, getLanguagePreferences, getLocale, getQueryData, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getServiceName, getStatus, setContextAction, setContextClassName, setContextObj, setContextProperties, setFormData, setLanguagePreferences, setLanguagePreferences, setLanguagePreferences, setLocale, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setServiceName, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHTMLTemplateFactory

public DefaultHTMLTemplateFactory()
                           throws wt.services.applicationcontext.implementation.UnableToLoadServiceProperties
Deprecated. 



Supported API: true

Throws:
wt.services.applicationcontext.implementation.UnableToLoadServiceProperties
Method Detail

setNameProcessor

public void setNameProcessor(TemplateNameProcessor a_NameProcessor)
Deprecated. 
Sets the object for the association that plays role: nameProcessor.

Set the instance of the TemplateNameProcessor that will be used to process the String returned from the *.properties file.

Supported API: true

Parameters:
a_NameProcessor -

getHTMLTemplate

public wt.htmlutil.HTMLTemplate getHTMLTemplate()
                                         throws WTException
Deprecated. 
Returns a localized instance of an HTMLTemplate object based on an entry in a *.properties file that was selected based on the locale, the service name, and the action/class pair.

Supported API: true

Specified by:
getHTMLTemplate in class AbstractHTMLTemplateFactory
Returns:
wt.htmlutil.HTMLTemplate
Throws:
WTException

processTemplateName

public String processTemplateName(String templateFileName)
Deprecated. 



Supported API: true

Specified by:
processTemplateName in interface TemplateNameProcessor
Parameters:
templateFileName -
Returns:
String