Class IntPairAttributeParser
java.lang.Object
com.google.gwt.uibinder.attributeparsers.IntPairAttributeParser
- All Implemented Interfaces:
AttributeParser
Parses a pair of integer values.
-
Constructor Summary
ConstructorsConstructorDescriptionIntPairAttributeParser(IntAttributeParser intParser, com.google.gwt.uibinder.rebind.MortalLogger logger) -
Method Summary
-
Constructor Details
-
IntPairAttributeParser
IntPairAttributeParser(IntAttributeParser intParser, com.google.gwt.uibinder.rebind.MortalLogger logger)
-
-
Method Details
-
parse
public String parse(com.google.gwt.uibinder.rebind.XMLElement source, String value) throws UnableToCompleteException Description copied from interface:AttributeParserParse the given attribute value.- Specified by:
parsein interfaceAttributeParser- 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
-