wt.templateutil.components
Class DefaultLinkComponent

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.HTMLLinkComponent
          extended bywt.templateutil.components.DefaultLinkComponent
Direct Known Subclasses:
PDMLinkDefaultLinkComponent

public class DefaultLinkComponent
extends HTMLLinkComponent

This class is responsible for drawing a default HTML link component. the HTML tag for this is < A href="">

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.  
private  String queryString
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private static boolean VERBOSE
          Deprecated.  
 
Fields inherited from class wt.templateutil.components.HTMLLinkComponent
A_HREF, A_ID, A_NAME, A_TARGET, HREF, ID, NAME, TAG, TARGET
 
Fields inherited from class wt.templateutil.components.HTMLComponent
CLASS, COMPONENT_ID, COMPONENT_ID_SEPARATOR, CREATE, DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, EMPTY_STRING, ID_US_ENGLISH_LOCALE, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, UPDATE, VIEW
 
Constructor Summary
DefaultLinkComponent()
          Deprecated.  
 
Method Summary
 String getApplicationDataLink(ApplicationData source, ContentHolder contentHolder, OutputStream os, Locale locale)
          Deprecated.  
static String getIDForLink(String baseID, Object value)
          Deprecated. Returns an ID value based on value.
static String getIDValueFromLink(String baseID, String link)
          Deprecated.  
 String getObjectLink(Object obj, OutputStream os, Locale locale)
          Deprecated.  
 String getURLDataLink(URLData urlData, OutputStream os, Locale locale)
          Deprecated.  
 String startComponent(Object obj, Properties formData, OutputStream os, Locale locale)
          Deprecated. Displays the standard format of a starting HTML tag include the opening less than, the tag name, the key value pairs that are the tag attributes, and the closing greater than.
 
Methods inherited from class wt.templateutil.components.HTMLLinkComponent
getTag, init, setTagListArray
 
Methods inherited from class wt.templateutil.components.HTMLComponent
appendID, appendID, appendToID, appendToID, createIDForComponent, endComponent, getHtmlComponents, getID, getIdProp, getName, getOID, getPrintWriter, getRealValue, getServiceName, getState, getTagID, getTagIDKey, getTagList, getTagSettings, getURLFactory, insertID, insertID, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, putTagID, putTagID, removeID, removeTagID, setHtmlComponents, setID, setInheritStyle, setName, setPrintTagAttributes, setServiceName, setState, 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
 

Field Detail

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

VERBOSE

private static boolean VERBOSE
Deprecated. 

queryString

private String queryString
Deprecated. 
Constructor Detail

DefaultLinkComponent

public DefaultLinkComponent()
Deprecated. 
Method Detail

startComponent

public String startComponent(Object obj,
                             Properties formData,
                             OutputStream os,
                             Locale locale)
Deprecated. 
Description copied from class: HTMLComponent
Displays the standard format of a starting HTML tag include the opening less than, the tag name, the key value pairs that are the tag attributes, and the closing greater than.

Supported API: true

Overrides:
startComponent in class HTMLComponent
Parameters:
obj -
formData -
os -
locale -
Returns:
String

getObjectLink

public String getObjectLink(Object obj,
                            OutputStream os,
                            Locale locale)
Deprecated. 

getApplicationDataLink

public String getApplicationDataLink(ApplicationData source,
                                     ContentHolder contentHolder,
                                     OutputStream os,
                                     Locale locale)
Deprecated. 

getURLDataLink

public String getURLDataLink(URLData urlData,
                             OutputStream os,
                             Locale locale)
Deprecated. 

getIDValueFromLink

public static String getIDValueFromLink(String baseID,
                                        String link)
Deprecated.  

chagned by jrg, 3-22-2004 We cannot have a url in a trail id because too much information in the url changes and the trail Id can not be reproduces so this method has been Changed to call getIdForLink with a null object. This is done just in case there are places I could not find that are still using this api. DO NOT USE THIS API. OLD Documentation Returns an ID value based on link. The id is . If link is not in the format href=, then a new string equal to baseIDlink is returned.


getIDForLink

public static String getIDForLink(String baseID,
                                  Object value)
Deprecated. 
Returns an ID value based on value. The id is . If value is null the id will be of lower quality.