com.google.gwt.uibinder.rebind.messages
Class MessageWriter
java.lang.Object
com.google.gwt.uibinder.rebind.messages.MessageWriter
public class MessageWriter
- extends java.lang.Object
Represents a method in a Messages interface. Can write both the method
declaration and its invocation.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
escapeMessageFormat
public static java.lang.String escapeMessageFormat(java.lang.String messageFormatStyleText)
- Escapes ' and { chars, which have special meaning to Messages
interfaces.
addPlaceholder
public void addPlaceholder(com.google.gwt.uibinder.rebind.messages.PlaceholderWriter placeholder)
getInvocation
public java.lang.String getInvocation()
getPlaceholderCount
public int getPlaceholderCount()
setDefaultMessage
public void setDefaultMessage(java.lang.String defaultMessage)
writeDeclaration
public void writeDeclaration(IndentedWriter pw)