org.apache.tapestry.enhance
Class InjectMetaWorker
java.lang.Object
org.apache.tapestry.enhance.InjectMetaWorker
- All Implemented Interfaces:
- InjectEnhancementWorker
- public class InjectMetaWorker
- extends java.lang.Object
- implements InjectEnhancementWorker
Injects meta data obtained via ComponentPropertySource
(meaning that meta-data is searched for in the component's specification, then it's namespace
(library or application specification), then the global application properties.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectMetaWorker
public InjectMetaWorker()
performEnhancement
public void performEnhancement(EnhancementOperation op,
InjectSpecification spec)
- Description copied from interface:
InjectEnhancementWorker
- Perform the enhancement defined by the
InjectSpecification
.
Thrown runtime exceptions are caught and reported by the invoker.
- Specified by:
performEnhancement
in interface InjectEnhancementWorker
injectMetaValue
public void injectMetaValue(EnhancementOperation op,
java.lang.String propertyName,
java.lang.String metaKey,
org.apache.hivemind.Location location)
setSource
public void setSource(ComponentPropertySource source)
setValueConverter
public void setValueConverter(ValueConverter valueConverter)