Interface AttributeParser
- All Known Implementing Classes:
BooleanAttributeParser
,DoubleAttributeParser
,EnumAttributeParser
,HorizontalAlignmentConstantParser
,IntAttributeParser
,IntPairAttributeParser
,LengthAttributeParser
,SafeUriAttributeParser
,StrictAttributeParser
,StringAttributeParser
,TextAlignConstantParser
,VerticalAlignmentConstantParser
public interface AttributeParser
Attribute parsers are classes that parse xml attribute values, turning them
into valid Java expressions.
-
Method Summary
-
Method Details
-
parse
String parse(com.google.gwt.uibinder.rebind.XMLElement source, String value) throws UnableToCompleteException Parse the given attribute value.- Parameters:
source
- the source code the value came from, for error reporting purposesvalue
- the attribute value to be parsed- Returns:
- a valid Java expression
- Throws:
UnableToCompleteException
- on parse error
-