
public static class MessageFormatParser.StringChunk extends MessageFormatParser.TemplateChunk
| Constructor and Description |
|---|
MessageFormatParser.StringChunk() |
MessageFormatParser.StringChunk(String str) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MessageFormatParser.TemplateChunkVisitor visitor) |
void |
append(String str) |
protected String |
getStringValue(boolean quote)
Returns the optionally quoted string value of this chunk as represented
in a MessgeFormat string.
|
boolean |
isLiteral() |
String |
toString() |
getAsMessageFormatString, getString, quoteMessageFormatChars, quoteMessageFormatCharspublic MessageFormatParser.StringChunk()
public MessageFormatParser.StringChunk(String str)
public void accept(MessageFormatParser.TemplateChunkVisitor visitor) throws com.google.gwt.core.ext.UnableToCompleteException
accept in class MessageFormatParser.TemplateChunkcom.google.gwt.core.ext.UnableToCompleteExceptionpublic void append(String str)
public boolean isLiteral()
isLiteral in class MessageFormatParser.TemplateChunkprotected String getStringValue(boolean quote)
MessageFormatParser.TemplateChunkgetStringValue in class MessageFormatParser.TemplateChunkquote - true if the result should be quotedCopyright © 2016. All rights reserved.