org.apache.tapestry5.internal.services
Class LiteralPropertyConduit
java.lang.Object
org.apache.tapestry5.internal.services.BasePropertyConduit
org.apache.tapestry5.internal.services.LiteralPropertyConduit
- All Implemented Interfaces:
- AnnotationProvider, PropertyConduit
public class LiteralPropertyConduit
- extends BasePropertyConduit
A PropertyConduit for a literal value in an expression, such as a number, or "true", "false" or "null".
|
Method Summary |
Object |
get(Object instance)
Reads the property from the instance. |
void |
set(Object instance,
Object value)
Changes the current value of the property. |
LiteralPropertyConduit
public LiteralPropertyConduit(Class propertyType,
AnnotationProvider annotationProvider,
String description,
TypeCoercer typeCoercer,
Object value)
get
public Object get(Object instance)
- Description copied from interface:
PropertyConduit
- Reads the property from the instance.
- Parameters:
instance - object containing the property
- Returns:
- the current value of the property
set
public void set(Object instance,
Object value)
- Description copied from interface:
PropertyConduit
- Changes the current value of the property.
- Parameters:
instance - object containing the propertyvalue - to change the property to
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.