Interface ElementAttributeValueParser
- All Known Implementing Classes:
DefaultElementAttributeValueParser
public interface ElementAttributeValueParser
Helper interface for setting properties.
- Version:
- 1.0 Aug 20, 2005
- Author:
- Willem Cazander
-
Method Summary
Modifier and TypeMethodDescriptiongetConvertedParameterValue
(String name, Object value, Element element) Convert the value into a new value genereted by parameterConverters.getELParameterValue
(String value, Element element) Returns the object which is stored in the ELContextgetParameterValue
(String name, String value, Element element) Does is all, Checks if value is EL parameter and lookups the object.boolean
isELParameter
(String name, String value, Element element) Checks if the value is an EL parameter.
-
Method Details
-
isELParameter
-
getELParameterValue
Object getELParameterValue(String value, Element element) throws ElementAttributeValueParserException, ObjectConverterException Returns the object which is stored in the ELContext- Parameters:
value
- The attribute value.element
- The element of the attribute.- Returns:
- Returns the resolved el parameter value.
- Throws:
ElementAttributeValueParserException
ObjectConverterException
-
getConvertedParameterValue
Object getConvertedParameterValue(String name, Object value, Element element) throws ElementAttributeValueParserException, ObjectConverterException Convert the value into a new value genereted by parameterConverters.- Parameters:
name
- The name of the attribute.value
- The value of the attribute.element
- The element of the attribute.- Returns:
- Returns the converted attribute value.
- Throws:
ElementAttributeValueParserException
ObjectConverterException
-
getParameterValue
Object getParameterValue(String name, String value, Element element) throws ElementAttributeValueParserException, ObjectConverterException Does is all, Checks if value is EL parameter and lookups the object. and converts to new object via parameter converter and return value.- Parameters:
name
- The name of the attribute.value
- The value of the attribute.element
- The element of the attribute.- Returns:
- Returns the attribute value.
- Throws:
ElementAttributeValueParserException
ObjectConverterException
-