|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.uibinder.attributeparsers.StringAttributeParser.FieldReferenceDelegate
static class StringAttributeParser.FieldReferenceDelegate
Constructor Summary | |
---|---|
StringAttributeParser.FieldReferenceDelegate(JType type)
|
Method Summary | |
---|---|
JType[] |
getTypes()
Returns the types any parsed field references are expected to return. |
java.lang.String |
handleFragment(java.lang.String literal)
Called for fragment around and between field references. |
java.lang.String |
handleReference(java.lang.String reference)
Called for each expanded field reference, to allow it to be stitched together with surrounding fragments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
StringAttributeParser.FieldReferenceDelegate(JType type)
Method Detail |
---|
public JType[] getTypes()
FieldReferenceConverter.Delegate
getTypes
in interface FieldReferenceConverter.Delegate
public java.lang.String handleFragment(java.lang.String literal)
FieldReferenceConverter.Delegate
Note that it will be called with empty strings if these surrounding bits are empty. E.g., "{style.enabled} fancy {style.impressive}" would call this method three times, with "", " fancy ", and "".
A string with no field references is treated as a single fragment, and causes a single call to this method.
handleFragment
in interface FieldReferenceConverter.Delegate
public java.lang.String handleReference(java.lang.String reference)
FieldReferenceConverter.Delegate
handleReference
in interface FieldReferenceConverter.Delegate
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |