com.javaforge.tapestry.prop
Class PropertyAccessorBinding

java.lang.Object
  extended by org.apache.tapestry.binding.AbstractBinding
      extended by com.javaforge.tapestry.prop.PropertyAccessorBinding
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.tapestry.IBinding

public class PropertyAccessorBinding
extends org.apache.tapestry.binding.AbstractBinding

A type of IBinding instance built around an object, and a PropertyAccessor that accesses a specific property of that object.

Author:
Howard M. Lewis Ship

Constructor Summary
PropertyAccessorBinding(String description, org.apache.tapestry.coerce.ValueConverter valueConverter, org.apache.hivemind.Location location, Object component, PropertyAccessor accessor)
           
 
Method Summary
 Object getComponent()
           
 Object getObject()
           
 boolean isInvariant()
          Like OGNL, these are not invariant; they may change at any time.
 void setObject(Object value)
           
 
Methods inherited from class org.apache.tapestry.binding.AbstractBinding
createReadOnlyBindingException, extendDescription, getDescription, getLocation, getObject, getValueConverter, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyAccessorBinding

public PropertyAccessorBinding(String description,
                               org.apache.tapestry.coerce.ValueConverter valueConverter,
                               org.apache.hivemind.Location location,
                               Object component,
                               PropertyAccessor accessor)
Method Detail

getComponent

public Object getComponent()
Overrides:
getComponent in class org.apache.tapestry.binding.AbstractBinding

setObject

public void setObject(Object value)
Specified by:
setObject in interface org.apache.tapestry.IBinding
Overrides:
setObject in class org.apache.tapestry.binding.AbstractBinding

getObject

public Object getObject()

isInvariant

public boolean isInvariant()
Like OGNL, these are not invariant; they may change at any time.

Specified by:
isInvariant in interface org.apache.tapestry.IBinding
Overrides:
isInvariant in class org.apache.tapestry.binding.AbstractBinding


Copyright © 2005-2007 Howard M. Lewis Ship. All Rights Reserved.