public static class MessageFormatParser.StaticArgChunk extends MessageFormatParser.TemplateChunk
Constructor and Description |
---|
MessageFormatParser.StaticArgChunk(String argName,
String replacement) |
Modifier and Type | Method and Description |
---|---|
void |
accept(MessageFormatParser.TemplateChunkVisitor visitor) |
String |
getArgName() |
String |
getReplacement() |
protected String |
getStringValue(boolean quoted)
Returns the optionally quoted string value of this chunk as represented
in a MessgeFormat string.
|
getAsMessageFormatString, getString, isLiteral, quoteMessageFormatChars, quoteMessageFormatChars
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 String getArgName()
public String getReplacement()
protected String getStringValue(boolean quoted)
MessageFormatParser.TemplateChunk
getStringValue
in class MessageFormatParser.TemplateChunk
quoted
- true if the result should be quotedCopyright © 2016. All rights reserved.