public class ParameterPropertyWorker extends java.lang.Object implements EnhancementWorker
Constructor and Description |
---|
ParameterPropertyWorker() |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(EnhancementOperation op,
java.lang.String parameterName,
java.lang.String propertyName,
java.lang.String specifiedType,
boolean cache,
org.apache.hivemind.Location location)
Adds a parameter as a (very smart) property.
|
void |
performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
setErrorLog(org.apache.hivemind.ErrorLog errorLog) |
public ParameterPropertyWorker()
public void performEnhancement(EnhancementOperation op, IComponentSpecification spec)
performEnhancement
in interface EnhancementWorker
public void addParameter(EnhancementOperation op, java.lang.String parameterName, java.lang.String propertyName, java.lang.String specifiedType, boolean cache, org.apache.hivemind.Location location)
op
- the enhancement operationparameterName
- the name of the parameter (used to access the binding)propertyName
- the name of the property to create (usually, but not always, matches the
parameterName)specifiedType
- the type declared in the DTD (only 3.0 DTD supports this), may be null (always
null for 4.0 DTD)cache
- if true, then the value should be cached while the component renders; false (a
much less common case) means that every access will work through binding object.location
- TODOpublic void setErrorLog(org.apache.hivemind.ErrorLog errorLog)