public class LengthAttributeParser extends java.lang.Object implements AttributeParser
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
UNIT |
Constructor and Description |
---|
LengthAttributeParser(DoubleAttributeParser doubleParser,
EnumAttributeParser enumParser,
com.google.gwt.uibinder.rebind.MortalLogger logger) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
parse(com.google.gwt.uibinder.rebind.XMLElement source,
java.lang.String lengthStr)
Parse the given attribute value.
|
LengthAttributeParser(DoubleAttributeParser doubleParser, EnumAttributeParser enumParser, com.google.gwt.uibinder.rebind.MortalLogger logger)
public java.lang.String parse(com.google.gwt.uibinder.rebind.XMLElement source, java.lang.String lengthStr) throws UnableToCompleteException
AttributeParser
parse
in interface AttributeParser
source
- the source code the value came from, for error reporting purposeslengthStr
- the attribute value to be parsedUnableToCompleteException
- on parse error