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.transform
Interface ParameterConduit

All Superinterfaces:
  FieldConduit<java.lang.Object>

    public interface ParameterConduit

extends FieldConduit<java.lang.Object>

A facade around `Binding` and `InternalComponentResources` that is used to instrument fields with the `Parameter` annotation. Extends `FieldConduit` so that the get() method implicitly coerces the value to the field's type.

`FieldConduit.get(Object, org.apache.tapestry5.plastic.InstanceContext)` will read from the underlying `Binding` and used the `TypeCoercer` coerce the value to the parameter field's type. get() also includes a null value check (as per `Parameter.allowNull()`.

`FieldConduit.set(Object, org.apache.tapestry5.plastic.InstanceContext, Object)` pushes the value into the binding.

Since:
  5.2.0

Method Summary
`boolean` | `isBound()` Determines if the parameter is actually bound.
`void` | `reset()` Resets the conduit, clearing any temporarily cached data (from a non-invariant `Binding`).

Methods inherited from interface org.apache.tapestry5.plastic.FieldConduit
`get, set`

Method Detail

### isBound

    boolean isBound()

  Determines if the parameter is actually bound.

  Returns:
    true if bound

### reset

    void reset()

  Resets the conduit, clearing any temporarily cached data (from a non-invariant `Binding`).

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.