org.apache.tapestry.binding
Class MetaBinding
java.lang.Object
org.apache.tapestry.binding.AbstractBinding
org.apache.tapestry.binding.MetaBinding
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, IBinding
public class MetaBinding
- extends AbstractBinding
Simple implementation that allows injection / lookup of meta properties.
MetaBinding
public MetaBinding(String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IComponent component,
ComponentPropertySource propertySource,
String key)
getObject
public Object getObject()
- Description copied from interface:
IBinding
- Returns the value of this binding. This is the essential method.
getComponent
public Object getComponent()
- Description copied from class:
AbstractBinding
- Returns the component to which this binding is connected; this is currently only used when
building certain exceptions. This implementation returns null.
- Overrides:
getComponent
in class AbstractBinding
- Returns:
- The
IComponent
object this binding is set against.
toString
public String toString()
- Overrides:
toString
in class AbstractBinding
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.