Class Overview
Represents a literal string portion of a template string.
Summary
Protected Methods |
String
|
getStringValue(boolean quote)
Returns the optionally quoted string value of this chunk as represented
in a MessgeFormat string.
|
Public Constructors
public
MessageFormatParser.StringChunk
()
public
MessageFormatParser.StringChunk
(String str)
Public Methods
Throws
UnableToCompleteException
| |
public
void
append
(String str)
public
boolean
isLiteral
()
Protected Methods
protected
String
getStringValue
(boolean quote)
Returns the optionally quoted string value of this chunk as represented
in a MessgeFormat string.
Parameters
quote
| true if the result should be quoted |
Returns
- optionally quoted MessageFormat string