Class StringAttributeParser
- java.lang.Object
-
- com.google.gwt.uibinder.attributeparsers.StringAttributeParser
-
- All Implemented Interfaces:
AttributeParser
class StringAttributeParser extends java.lang.Object implements AttributeParser
Parses a string attribute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
StringAttributeParser.FieldReferenceDelegate
-
Constructor Summary
Constructors Constructor Description StringAttributeParser(FieldReferenceConverter converter, JType stringType)
-
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
-
StringAttributeParser
StringAttributeParser(FieldReferenceConverter converter, JType stringType)
-
-
Method Detail
-
parse
public java.lang.String parse(com.google.gwt.uibinder.rebind.XMLElement source, java.lang.String value)
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
-
-