|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.faces.dhtml.renderkit.IlvDHTMLDecoder
public class IlvDHTMLDecoder
The IlvDHTMLDecoder class is a utility class used to update the
JViews Faces components with the update data extracted from the
request.
Each decodeXXXProperty looks for an available update
for the specified property.
If any, the component property is
updated and the property is marked "updated" to
update a bound bean property, if any, during the update model
phase of the life cycle.
| Nested Class Summary | |
|---|---|
static interface |
IlvDHTMLDecoder.ObjectDecoder
This simple interface defines a decoder that converts a String value that comes from the request to the correct property type. |
| Field Summary | |
|---|---|
UIComponent |
component
The component which is being decoded. |
| Constructor Summary | |
|---|---|
IlvDHTMLDecoder(HashMap parameterMap,
UIComponent component)
Builds a new IlvDecoder object. |
|
| Method Summary | |
|---|---|
void |
decodeBooleanProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeByteProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeCharProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeClassNameOrValueBindingRef(String refPropertyId,
String classPropertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeColorProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeDependencyProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeDoubleArrayProperty(String propertyId)
Decodes a property of type array that contains doubles. |
void |
decodeDoubleProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeGenericProperty(String propertyId,
IlvDHTMLDecoder.ObjectDecoder decoder)
Decodes the update data from the request URL for a specified property. |
void |
decodeIntegerProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeLongProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeMethodBindingProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeShortProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeStringArrayProperty(String propertyId)
Decodes a property of type array that contains strings. |
void |
decodeStringMapProperty(String propertyId)
Decodes a property of type map for which keys and values are String. |
void |
decodeStringProperty(String propertyId)
Decodes the update data from the request URL for a specified property. |
void |
decodeValueBindingRef(String propertyId)
Decodes the update data from the request URL for a specified property. |
String |
getUpdateData(String propertyId)
Returns the property update data for this component property from the client request without any processing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public UIComponent component
| Constructor Detail |
|---|
public IlvDHTMLDecoder(HashMap parameterMap,
UIComponent component)
IlvDecoder object.
parameterMap - The parameter map of the decoded properties of the
current component. Can be obtained by
getParameterMap(context, component) in the decode
method of the renderer.component - The component to update with the update data extracted
from the request.| Method Detail |
|---|
public String getUpdateData(String propertyId)
propertyId - The ID of the property.
public void decodeProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.
public void decodeGenericProperty(String propertyId,
IlvDHTMLDecoder.ObjectDecoder decoder)
"decoded" to update a bound bean property, if any.
This method use the ObjectDecoder instance to decode the update data.
propertyId - The ID of the property.decoder - The object decoder that converts the update data to the new property value.public void decodeStringArrayProperty(String propertyId)
propertyId - The ID of the property to decode.public void decodeStringMapProperty(String propertyId)
String.
propertyId - The ID of the property to decode.public void decodeStringProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeDoubleArrayProperty(String propertyId)
propertyId - The ID of the property to decode.public void decodeDoubleProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeIntegerProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeBooleanProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeLongProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeShortProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeByteProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeCharProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeDependencyProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeColorProperty(String propertyId)
"decoded" to update a bound bean property, if any.
propertyId - The ID of the property.public void decodeMethodBindingProperty(String propertyId)
propertyId - The ID of the property to decode.
public void decodeClassNameOrValueBindingRef(String refPropertyId,
String classPropertyId)
refPropertyId property.classPropertyId property.
refPropertyId - The ID of the reference property.classPropertyId - The ID of the class name property.public void decodeValueBindingRef(String propertyId)
refPropertyId property.classPropertyId property.
propertyId - The ID of the property to decode.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||