wt.templateutil.components
Class HTMLComponentFactory

java.lang.Object
  extended by wt.templateutil.components.HTMLComponentFactory
All Implemented Interfaces:
wt.services.applicationcontext.ApplicationContextChild

Deprecated.

public class HTMLComponentFactory
extends Object
implements wt.services.applicationcontext.ApplicationContextChild

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


Constructor Summary
HTMLComponentFactory()
          Deprecated.  
 
Method Summary
 HTMLComponent getComponent(Object context, String serviceSelector, Object requestorClass)
          Deprecated.  
 HTMLComponent getComponent(String serviceSelector, Object requestorClass)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLComponentFactory

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



Supported API: true

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

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:
WTException
WTPropertyVetoException

getComponent

public HTMLComponent getComponent(String serviceSelector,
                                  Object requestorClass)
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