com.ptc.core.foundation.queue.client.web.property.string
Class WebStringPropertyHandler

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.string.CoStringPropertyHandler
                      extended by com.ptc.core.foundation.queue.client.web.property.string.WebStringPropertyHandler
All Implemented Interfaces:
CoModelHandler, WebPropertyHandler

public class WebStringPropertyHandler
extends CoStringPropertyHandler
implements WebPropertyHandler

This class defines property handler for the java.lang.String attribute value type. The handler must be used in conjunction with the string renderer.

Supported API: true

Extendable: false

See Also:
String

Field Summary
 
Fields inherited from class com.ptc.core.ca.co.client.property.CoPropertyHandler
ATTRIBUTE_TAG
 
Method Summary
protected  boolean canHandleInput(CoProperty property, WebEnvData web_envData)
          Indicates whether a handler can handle input produced by a renderer specified in configuration specification.
 void updateProperty(CoProperty property, WebEnvData web_envData)
          Mines request for the parameters related to the given property.
 
Methods inherited from class com.ptc.core.ca.co.client.property.string.CoStringPropertyHandler
updateModel
 
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.CoPropertyHandler
updateModel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

updateProperty

public void updateProperty(CoProperty property,
                           WebEnvData web_envData)
                    throws WTException
Mines request for the parameters related to the given property. Updates the I*E element and the model of the property using obtained parameters.

DCA framework generially traverses the tree of DCA element invoking this method for properties in non-view mode.

Supported API: true

Specified by:
updateProperty in interface WebPropertyHandler
Parameters:
property -
web_envData -
Throws:
WTException

canHandleInput

protected boolean canHandleInput(CoProperty property,
                                 WebEnvData web_envData)
                          throws WTException
Indicates whether a handler can handle input produced by a renderer specified in configuration specification. Since application developers can provide their own renderes it is crucial that it is compatible with the handler. See DCA documentation for more details.

Supported API: true

Parameters:
property -
web_envData -
Returns:
boolean
Throws:
WTException