Class IntPairAttributeParser
- java.lang.Object
-
- com.google.gwt.uibinder.attributeparsers.IntPairAttributeParser
-
- All Implemented Interfaces:
AttributeParser
class IntPairAttributeParser extends java.lang.Object implements AttributeParser
Parses a pair of integer values.
-
-
Constructor Summary
Constructors Constructor Description IntPairAttributeParser(IntAttributeParser intParser, com.google.gwt.uibinder.rebind.MortalLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
parse(com.google.gwt.uibinder.rebind.XMLElement source, java.lang.String value)
Parse the given attribute value.
-
-
-
Constructor Detail
-
IntPairAttributeParser
IntPairAttributeParser(IntAttributeParser intParser, com.google.gwt.uibinder.rebind.MortalLogger logger)
-
-
Method Detail
-
parse
public java.lang.String parse(com.google.gwt.uibinder.rebind.XMLElement source, java.lang.String value) throws UnableToCompleteException
Description copied from interface:AttributeParser
Parse the given attribute value.- Specified by:
parse
in 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
-
-