org.apache.tapestry.binding
Class BindingUtils

java.lang.Object
  extended byorg.apache.tapestry.binding.BindingUtils

public class BindingUtils
extends java.lang.Object

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
BindingUtils()
           
 
Method Summary
static java.lang.String getDefaultBindingType(IComponentSpecification specification, java.lang.String parameterName, java.lang.String metaDefaultBindingType)
          Determines the correct default parameter type (to pass to BindingSource.createBinding(IComponent, String, String, String, Location) for a component specification and parameter name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingUtils

public BindingUtils()
Method Detail

getDefaultBindingType

public static java.lang.String getDefaultBindingType(IComponentSpecification specification,
                                                     java.lang.String parameterName,
                                                     java.lang.String metaDefaultBindingType)
Determines the correct default parameter type (to pass to BindingSource.createBinding(IComponent, String, String, String, Location) for a component specification and parameter name.

Parameters:
specification - the specification of the component for which a binding is being created
parameterName - the name of the parameter to bind which may be either the name of a formal or informal parameter