Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.internal.bindings
Class AssetBinding

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

All Implemented Interfaces:
  Binding, AnnotationProvider, Locatable

    public class AssetBinding

extends AbstractBinding

Constructor Summary
`AssetBinding(Location location, java.lang.String description, Asset asset)`

Method Summary
`java.lang.Object` | `get()` Reads the current value of the property (or other resource).
`java.lang.Class` | `getBindingType()` Returns the actual class, by invoking `Binding.get()`.
`java.lang.String` | `toString()`

Methods inherited from class org.apache.tapestry5.internal.bindings.AbstractBinding
`getAnnotation, 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 Detail

### AssetBinding

    public AssetBinding(Location location,
                        java.lang.String description,
                        Asset asset)

Method Detail

### getBindingType

    public java.lang.Class getBindingType()

  Description copied from class: `AbstractBinding`
  Returns the actual class, by invoking `Binding.get()`. Subclasses may override this method to work more efficiently (say, when the binding type is known statically).

  Specified by:
    `getBindingType` in interface `Binding`
  Overrides:
    `getBindingType` in class `AbstractBinding`

### get

    public java.lang.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 java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.