
public static class MessageFormatUtils.StaticArgChunk extends MessageFormatUtils.TemplateChunk
| Constructor and Description |
|---|
StaticArgChunk(String argName,
String replacement) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MessageFormatUtils.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, quoteMessageFormatCharspublic void accept(MessageFormatUtils.TemplateChunkVisitor visitor) throws MessageFormatUtils.VisitorAbortException
accept in class MessageFormatUtils.TemplateChunkMessageFormatUtils.VisitorAbortExceptionpublic String getArgName()
public String getReplacement()
protected String getStringValue(boolean quoted)
MessageFormatUtils.TemplateChunkgetStringValue in class MessageFormatUtils.TemplateChunkquoted - true if the result should be quotedCopyright © 2018. All rights reserved.