com.ptc.core.ca.co.client.property.hyperlink
Class CoHyperlinkPropertyHandler

java.lang.Object
  extended by com.ptc.core.ca.co.client.element.CoElementHandler
      extended by com.ptc.core.ca.co.client.property.CoPropertyHandler
          extended by com.ptc.core.ca.co.client.property.CoAbstractPropertyHandler
              extended by com.ptc.core.ca.co.client.property.CoSimplePropertyHandler
                  extended by com.ptc.core.ca.co.client.property.hyperlink.CoHyperlinkPropertyHandler
All Implemented Interfaces:
CoModelHandler
Direct Known Subclasses:
WebHyperlinkPropertyHandler

Deprecated.

@Deprecated
public class CoHyperlinkPropertyHandler
extends CoSimplePropertyHandler

This class defines a property handler for the com.ptc.core.meta.common.Hyperlink attribute value type.

Supported API: true

Extendable: false


Field Summary
static String HYPERLINK_LABEL_LABEL_PARAM
          Deprecated. 

Supported API: true
static String HYPERLINK_LINK_LABEL_PARAM
          Deprecated. 

Supported API: true
 
Fields inherited from class com.ptc.core.ca.co.client.property.CoPropertyHandler
ATTRIBUTE_TAG
 
Method Summary
static String getLabelLabel(CoProperty property, CoEnvData envData)
          Deprecated. Returns the label for the label of the hyperlink element..
static String getLinkLabel(CoProperty property, CoEnvData envData)
          Deprecated. Returns the label for the link of the hyperlink element.
 Hyperlink valueOf(String hyperlink)
          Deprecated. Creates and returns Hyperlink object based on the value of the string.
 Hyperlink valueOf(String url, String label)
          Deprecated. Creates and returns a hyperlink object based on the url and label.
 
Methods inherited from class com.ptc.core.ca.co.client.property.CoSimplePropertyHandler
newModel, updateInstance
 
Methods inherited from class com.ptc.core.ca.co.client.property.CoAbstractPropertyHandler
updateModel
 
Methods inherited from class com.ptc.core.ca.co.client.property.CoPropertyHandler
updateModel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HYPERLINK_LINK_LABEL_PARAM

public static final String HYPERLINK_LINK_LABEL_PARAM
Deprecated. 


Supported API: true

See Also:
Constant Field Values

HYPERLINK_LABEL_LABEL_PARAM

public static final String HYPERLINK_LABEL_LABEL_PARAM
Deprecated. 


Supported API: true

See Also:
Constant Field Values
Method Detail

valueOf

public Hyperlink valueOf(String hyperlink)
Deprecated. 
Creates and returns Hyperlink object based on the value of the string. The string representation has to follow the format of: url(label). e.g. "www.ptc.com(Shaping Innovation)". Where (label) is optional.

Supported API: true

Parameters:
hyperlink -
Returns:
Hyperlink

valueOf

public Hyperlink valueOf(String url,
                         String label)
Deprecated. 
Creates and returns a hyperlink object based on the url and label.

Supported API: true

Parameters:
url -
label -
Returns:
Hyperlink

getLinkLabel

public static String getLinkLabel(CoProperty property,
                                  CoEnvData envData)
                           throws WTException
Deprecated. 
Returns the label for the link of the hyperlink element. Useful in the edit mode.

Supported API: true

Parameters:
property -
envData -
Returns:
String
Throws:
WTException

getLabelLabel

public static String getLabelLabel(CoProperty property,
                                   CoEnvData envData)
                            throws WTException
Deprecated. 
Returns the label for the label of the hyperlink element.. Useful in the edit mode.

Supported API: true

Parameters:
property -
envData -
Returns:
String
Throws:
WTException