Package org.apache.tapestry5.internal.bindings

# Class ComponentBinding

java.lang.Object
org.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.bindings.AbstractBinding
org.apache.tapestry5.internal.bindings.ComponentBinding

All Implemented Interfaces:
  `Binding`, `Binding2`, `AnnotationProvider`, `Locatable`

public class ComponentBinding extends AbstractBinding

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ComponentBinding(Location location, String description, ComponentResources resources, String componentId)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `get()`
  Reads the current value of the property (or other resource).
  `String`
  `toString()`

  ### Methods inherited from class org.apache.tapestry5.internal.bindings.AbstractBinding

  `getAnnotation, getBindingGenericType, getBindingType, isInvariant, set`

  ### Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable

  `getLocation`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ComponentBinding

    public ComponentBinding(Location location, String description, ComponentResources resources, String componentId)

- ## Method Details

  - ### get

    public Object get()
    Description copied from interface: `Binding`
    Reads the current value of the property (or other resource). When reading properties of objects that are primitive types, this will return an instance of the wrapper type. In some cases, a binding is read only and this method will throw a runtime exception.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`