
public static class MessageFormatParser.ArgumentChunk extends MessageFormatParser.TemplateChunk
| Constructor and Description |
|---|
MessageFormatParser.ArgumentChunk(int argNumber,
Map<String,String> listArgs,
String format,
Map<String,String> formatArgs,
String subformat) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MessageFormatParser.TemplateChunkVisitor visitor) |
int |
getArgumentNumber()
Get the argument number this chunk refers to.
|
String |
getFormat() |
Map<String,String> |
getFormatArgs() |
Map<String,String> |
getListArgs() |
protected String |
getStringValue(boolean quote)
Returns the optionally quoted string value of this chunk as represented
in a MessgeFormat string.
|
String |
getSubFormat() |
boolean |
isList() |
String |
toString() |
getAsMessageFormatString, getString, isLiteral, quoteMessageFormatChars, quoteMessageFormatCharspublic void accept(MessageFormatParser.TemplateChunkVisitor visitor) throws com.google.gwt.core.ext.UnableToCompleteException
accept in class MessageFormatParser.TemplateChunkcom.google.gwt.core.ext.UnableToCompleteExceptionpublic int getArgumentNumber()
public String getFormat()
public String getSubFormat()
public boolean isList()
protected String getStringValue(boolean quote)
MessageFormatParser.TemplateChunkgetStringValue in class MessageFormatParser.TemplateChunkquote - true if the result should be quotedCopyright © 2016. All rights reserved.