Package wt.templateutil.components
Class HTMLComponentFactory
java.lang.Object
wt.templateutil.components.HTMLComponentFactory
- All Implemented Interfaces:
wt.services.applicationcontext.ApplicationContextChild
public class HTMLComponentFactory
extends Object
implements wt.services.applicationcontext.ApplicationContextChild
Deprecated.
The HTMLComponentFactory uses information about the current context and
the current object, plus information retrieved from the system configuration
files to determine and return the correct HTMLComponents to use to display
information to the user.
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
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComponent(Object context, String serviceSelector, Object requestorClass) Deprecated.getComponent(String serviceSelector, Object requestorClass) Deprecated.
-
Constructor Details
-
HTMLComponentFactory
public HTMLComponentFactory() throws wt.services.applicationcontext.implementation.UnableToLoadServicePropertiesDeprecated.
Supported API: true- Throws:
wt.services.applicationcontext.implementation.UnableToLoadServiceProperties
-
-
Method Details
-
getComponent
public HTMLComponent getComponent(Object context, String serviceSelector, Object requestorClass) throws WTException, WTPropertyVetoException Deprecated.This method takes a context, a service name, and the requesting object and returns the appropriate HTML Template Processing Component to display the information to the user.
Supported API: true- Parameters:
context-serviceSelector-requestorClass-- Returns:
- HTMLComponent
- Throws:
WTExceptionWTPropertyVetoException
-
getComponent
Deprecated.This alternate version of getComponent() calls the other version sending in the default component context name defined in the class constant COMPONENT_CONTEXT_NAME.
Supported API: true- Parameters:
serviceSelector-requestorClass-- Returns:
- HTMLComponent
-