wt.templateutil.components
Class DefaultHTMLComponent

java.lang.Object
  extended by wt.templateutil.components.HTMLComponent
      extended by wt.templateutil.components.DefaultHTMLComponent
Direct Known Subclasses:
HTMLBusinessComponent, IconFirstCellComponent, LatestVersionComponent

Deprecated.

public class DefaultHTMLComponent
extends HTMLComponent

This is the default HTML component for the template processing system. This component simply displays the string of information passed to it without any formatting HTML. It should rarely be used. In most cases the subclasses should be used instead.

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 class wt.templateutil.components.HTMLComponent
DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, PRINT_TAG_ATTR, SERVICENAME
 
Method Summary
 String endComponent(Object value, OutputStream os, Locale locale)
          Deprecated.  
 void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props)
          Deprecated.  
 void setTagListArray()
          Deprecated.  
 String startComponent(Object value, Properties formData, OutputStream os, Locale locale)
          Deprecated.  
 
Methods inherited from class wt.templateutil.components.HTMLComponent
getHtmlComponents, getPrintWriter, getServiceName, getTag, getTagList, getTagSettings, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, setInheritStyle, setPrintTagAttributes, setServiceName, setTag, setTagList, setTagListDefaults, setTagSettings, setTagValue, setUseDefaultsOnly, show, showSubComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init(String selector,
                 Object value,
                 HTMLComponentFactory componentFactory,
                 String mode,
                 Properties props)
Deprecated. 

Calls the super class init method.

Supported API: true

Overrides:
init in class HTMLComponent
Parameters:
selector -
value -
componentFactory -
mode -
props -

setTagListArray

public void setTagListArray()
Deprecated. 

Initializes the TagListArray to an array of values representing the possible attributes on the tag. For example one possible array would be: {TYPE, NAME, VALUE, ID} these attributes are later displayed in the HTML as key value pairs, for example "NAME=checkbox1"

Supported API: true

Specified by:
setTagListArray in class HTMLComponent

startComponent

public String startComponent(Object value,
                             Properties formData,
                             OutputStream os,
                             Locale locale)
Deprecated. 

This is the default implementation for startComponent. It should most likely be overridden in the subclass.
This implementation returns an empty String: ""


Supported API: true

Overrides:
startComponent in class HTMLComponent
Parameters:
Object -
Properties -
OutputStream -
Locale -
Returns:
String

endComponent

public String endComponent(Object value,
                           OutputStream os,
                           Locale locale)
Deprecated. 

This is the default implementation for endComponent. It should most likely be overridden in the subclass.
This implementation returns an empty String: ""


Supported API: true

Overrides:
endComponent in class HTMLComponent
Parameters:
Object -
OutputStream -
Locale -
Returns:
String