|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.uibinder.attributeparsers.StrictAttributeParser
com.google.gwt.uibinder.attributeparsers.EnumAttributeParser
class EnumAttributeParser
Parses an enum attribute.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.uibinder.attributeparsers.StrictAttributeParser |
|---|
StrictAttributeParser.FieldReferenceDelegate |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.uibinder.attributeparsers.StrictAttributeParser |
|---|
logger |
| Constructor Summary | |
|---|---|
EnumAttributeParser(FieldReferenceConverter converter,
JEnumType enumType,
com.google.gwt.uibinder.rebind.MortalLogger logger)
|
|
| Method Summary | |
|---|---|
java.lang.String |
parse(com.google.gwt.uibinder.rebind.XMLElement source,
java.lang.String value)
If the value holds a single field reference "{like.this}", converts it to a Java Expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
EnumAttributeParser(FieldReferenceConverter converter,
JEnumType enumType,
com.google.gwt.uibinder.rebind.MortalLogger logger)
| Method Detail |
|---|
public java.lang.String parse(com.google.gwt.uibinder.rebind.XMLElement source,
java.lang.String value)
throws UnableToCompleteException
StrictAttributeParserIn any other case (e.g. more than one field reference), an UnableToCompleteException is thrown.
parse in interface AttributeParserparse in class StrictAttributeParsersource - the source code the value came from, for error reporting purposesvalue - the attribute value to be parsed
UnableToCompleteException - on parse error
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||