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
  • Constructor Details

    • HTMLComponentFactory

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


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