public class DefaultElementAttributeValueParser extends Object implements ElementAttributeValueParser
Constructor and Description |
---|
DefaultElementAttributeValueParser() |
Modifier and Type | Method and Description |
---|---|
Object |
getConvertedParameterValue(String name,
Object value,
Element element)
Convert the value into a new value genereted by parameterConverters.
|
Object |
getELParameterValue(String value,
Element element)
Returns the object which is stored in the ELContext
|
Object |
getParameterValue(String name,
String valueString,
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.
|
public Object getParameterValue(String name, String valueString, Element element) throws ElementAttributeValueParserException, ObjectConverterException
ElementAttributeValueParser
getParameterValue
in interface ElementAttributeValueParser
name
- The name of the attribute.valueString
- The value of the attribute.element
- The element of the attribute.ElementAttributeValueParserException
ObjectConverterException
ElementAttributeValueParser.getParameterValue(java.lang.String, java.lang.String, org.x4o.xml.element.Element)
public Object getConvertedParameterValue(String name, Object value, Element element) throws ElementAttributeValueParserException, ObjectConverterException
ElementAttributeValueParser
getConvertedParameterValue
in interface ElementAttributeValueParser
name
- The name of the attribute.value
- The value of the attribute.element
- The element of the attribute.ObjectConverterException
ElementAttributeValueParserException
ElementAttributeValueParser.getConvertedParameterValue(java.lang.String, java.lang.Object, org.x4o.xml.element.Element)
public Object getELParameterValue(String value, Element element) throws ElementAttributeValueParserException
ElementAttributeValueParser
getELParameterValue
in interface ElementAttributeValueParser
value
- The attribute value.element
- The element of the attribute.ElementAttributeValueParserException
ElementAttributeValueParser.getELParameterValue(java.lang.String, org.x4o.xml.element.Element)
public boolean isELParameter(String name, String value, Element element)
ElementAttributeValueParser
isELParameter
in interface ElementAttributeValueParser
name
- The name of the attribute.value
- The value of the attribute.element
- The element of the attribute.ElementAttributeValueParser.isELParameter(java.lang.String, java.lang.String, org.x4o.xml.element.Element)
Copyright © 2004-2013 X4O. All Rights Reserved.