net.sf.beanform.binding
Class ObjectBinding

java.lang.Object
  extended by org.apache.tapestry.binding.AbstractBinding
      extended by net.sf.beanform.binding.ObjectBinding
All Implemented Interfaces:
org.apache.hivemind.Locatable, IBinding

public class ObjectBinding
extends AbstractBinding

Binding for any object. Serves as a simple object wrapper when we want to add bindings programmatically.

Author:
Daniel Gredler

Constructor Summary
ObjectBinding(String description, ValueConverter converter, org.apache.hivemind.Location location, Object object)
           
 
Method Summary
 Object getObject()
           
 String toString()
           
 
Methods inherited from class org.apache.tapestry.binding.AbstractBinding
createReadOnlyBindingException, extendDescription, getComponent, getDescription, getLocation, getObject, getValueConverter, isInvariant, setObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectBinding

public ObjectBinding(String description,
                     ValueConverter converter,
                     org.apache.hivemind.Location location,
                     Object object)
Method Detail

getObject

public Object getObject()

toString

public String toString()
Overrides:
toString in class AbstractBinding


Copyright © 2006 Daniel Gredler. All Rights Reserved.