org.apache.tapestry5.internal.transform
Class ReadOnlyFieldValueConduit

java.lang.Object
  extended by org.apache.tapestry5.internal.transform.ReadOnlyFieldValueConduit
All Implemented Interfaces:
FieldValueConduit

public abstract class ReadOnlyFieldValueConduit
extends Object
implements FieldValueConduit

An implementation of FieldValueConduit for a read-only component field. Subclasses provide an implementation of the FieldValueConduit.get() method.

Since:
5.2.0

Constructor Summary
ReadOnlyFieldValueConduit(ComponentResources resources, String fieldName)
           
ReadOnlyFieldValueConduit(String qualifiedFieldName)
           
ReadOnlyFieldValueConduit(String className, String fieldName)
           
 
Method Summary
 void set(Object newValue)
          Sets the value of the field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry5.ioc.services.FieldValueConduit
get
 

Constructor Detail

ReadOnlyFieldValueConduit

public ReadOnlyFieldValueConduit(String qualifiedFieldName)

ReadOnlyFieldValueConduit

public ReadOnlyFieldValueConduit(String className,
                                 String fieldName)

ReadOnlyFieldValueConduit

public ReadOnlyFieldValueConduit(ComponentResources resources,
                                 String fieldName)
Method Detail

set

public final void set(Object newValue)
Description copied from interface: FieldValueConduit
Sets the value of the field

Specified by:
set in interface FieldValueConduit
Parameters:
newValue - to be captured


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.