com.google.gwt.i18n.rebind
Class MessageFormatParser.TemplateChunk

java.lang.Object
  extended by com.google.gwt.i18n.rebind.MessageFormatParser.TemplateChunk
Direct Known Subclasses:
MessageFormatParser.ArgumentChunk, MessageFormatParser.StringChunk
Enclosing class:
MessageFormatParser

public static class MessageFormatParser.TemplateChunk
extends java.lang.Object

Represents a parsed chunk of a template.


Constructor Summary
MessageFormatParser.TemplateChunk()
           
 
Method Summary
 java.lang.String getString()
           
 boolean isLiteral()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageFormatParser.TemplateChunk

public MessageFormatParser.TemplateChunk()
Method Detail

getString

public java.lang.String getString()
Returns:
the string as this chunk would be represented in a MessageFormat template. Note that this is distinct from toString in that the latter is intend for human consumption.

isLiteral

public boolean isLiteral()