|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.templateutil.processor.AbstractHTMLTemplateFactory
wt.templateutil.processor.DefaultHTMLTemplateFactory
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 | |
private static String |
CLASSNAME
Deprecated. |
protected static String |
CODEBASE
Deprecated. |
private TemplateNameProcessor |
nameProcessor
Deprecated. |
protected char |
newFileSeparator
Deprecated. |
protected char |
oldFileSeparator
Deprecated. |
private static String |
RESOURCE
Deprecated. |
protected static boolean |
VERBOSE
Deprecated. |
Fields inherited from class wt.templateutil.processor.AbstractHTMLTemplateFactory |
|
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild |
APPLICATION_CONTEXT |
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 | |
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. |
TemplateNameProcessor |
getNameProcessor()
Deprecated. Gets the object for the association that plays role: nameProcessor. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private TemplateNameProcessor nameProcessor
protected static String CODEBASE
protected static boolean VERBOSE
protected char oldFileSeparator
protected char newFileSeparator
Constructor Detail |
public DefaultHTMLTemplateFactory() throws UnableToLoadServiceProperties
UnableToLoadServiceProperties
Method Detail |
public TemplateNameProcessor getNameProcessor()
This instance of TemplateNameProcessor is used to process/manipulate the String returned from the *.properties file before the String is used by the HTMLTemplate object to find the template.
Lazy initialization is used here. DefaultHTMLTemplateFactory implements the
TemplateNameProcessor interface. If no instance of a TemplateNameProcessor is
is set, a reference to the current instance of the DefaultHTMLTemplateFactory
is returned.
Supported API: false
public void setNameProcessor(TemplateNameProcessor a_NameProcessor)
Set the instance of the TemplateNameProcessor that will be used
to process the String returned from the *.properties file.
Supported API: true
a_NameProcessor
- public HTMLTemplate getHTMLTemplate() throws WTException
getHTMLTemplate
in class AbstractHTMLTemplateFactory
WTException
public String processTemplateName(String templateFileName)
processTemplateName
in interface TemplateNameProcessor
templateFileName
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |