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, quoteMessageFormatChars
public void accept(MessageFormatUtils.TemplateChunkVisitor visitor) throws MessageFormatUtils.VisitorAbortException
accept
in class MessageFormatUtils.TemplateChunk
MessageFormatUtils.VisitorAbortException
public String getArgName()
public String getReplacement()
protected String getStringValue(boolean quoted)
MessageFormatUtils.TemplateChunk
getStringValue
in class MessageFormatUtils.TemplateChunk
quoted
- true if the result should be quotedCopyright © 2018. All rights reserved.