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, quoteMessageFormatChars
public MessageFormatParser.StringChunk()
public MessageFormatParser.StringChunk(String str)
public void accept(MessageFormatParser.TemplateChunkVisitor visitor) throws com.google.gwt.core.ext.UnableToCompleteException
accept
in class MessageFormatParser.TemplateChunk
com.google.gwt.core.ext.UnableToCompleteException
public void append(String str)
public boolean isLiteral()
isLiteral
in class MessageFormatParser.TemplateChunk
protected String getStringValue(boolean quote)
MessageFormatParser.TemplateChunk
getStringValue
in class MessageFormatParser.TemplateChunk
quote
- true if the result should be quotedCopyright © 2016. All rights reserved.