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
ElementAttributeValueParsergetParameterValue in interface ElementAttributeValueParsername - The name of the attribute.valueString - The value of the attribute.element - The element of the attribute.ElementAttributeValueParserExceptionObjectConverterExceptionElementAttributeValueParser.getParameterValue(java.lang.String, java.lang.String, org.x4o.xml.element.Element)public Object getConvertedParameterValue(String name, Object value, Element element) throws ElementAttributeValueParserException, ObjectConverterException
ElementAttributeValueParsergetConvertedParameterValue in interface ElementAttributeValueParsername - The name of the attribute.value - The value of the attribute.element - The element of the attribute.ObjectConverterExceptionElementAttributeValueParserExceptionElementAttributeValueParser.getConvertedParameterValue(java.lang.String, java.lang.Object, org.x4o.xml.element.Element)public Object getELParameterValue(String value, Element element) throws ElementAttributeValueParserException
ElementAttributeValueParsergetELParameterValue in interface ElementAttributeValueParservalue - The attribute value.element - The element of the attribute.ElementAttributeValueParserExceptionElementAttributeValueParser.getELParameterValue(java.lang.String, org.x4o.xml.element.Element)public boolean isELParameter(String name, String value, Element element)
ElementAttributeValueParserisELParameter in interface ElementAttributeValueParsername - 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.