Interface ParameterConduit
-
- All Superinterfaces:
FieldConduit<java.lang.Object>
public interface ParameterConduit extends FieldConduit<java.lang.Object>
A facade aroundBindingandInternalComponentResourcesthat is used to instrument fields with theParameterannotation. ExtendsFieldConduitso 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 underlyingBindingand used theTypeCoercercoerce the value to the parameter field's type. get() also includes a null value check (as perParameter.allowNull().FieldConduit.set(Object, org.apache.tapestry5.plastic.InstanceContext, Object)pushes the value into the binding.- Since:
- 5.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisBound()Determines if the parameter is actually bound.voidreset()Resets the conduit, clearing any temporarily cached data (from a non-invariantBinding).-
Methods inherited from interface org.apache.tapestry5.plastic.FieldConduit
get, set
-
-