java.lang.Object | |
↳ | com.google.gwt.i18n.rebind.MessageFormatParser.TemplateChunk |
Known Direct Subclasses |
Represents a parsed chunk of a template.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the string as this chunk would be represented in a MessageFormat
template, with any required quoting such that reparsing this value would
produce an equivalent (note, not identical) parse.
| |||||||||||
Returns the string as this chunk would be represented in a MessageFormat
template, with any quoting removed.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the optionally quoted string value of this chunk as represented
in a MessgeFormat string.
| |||||||||||
Possibly quote a string in the MessageFormat-style.
| |||||||||||
Quote a string in the MessageFormat-style.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
UnableToCompleteException |
---|
Returns the string as this chunk would be represented in a MessageFormat template, with any required quoting such that reparsing this value would produce an equivalent (note, not identical) parse. Note that the default implementation may not be sufficient for all subclasses.
Returns the string as this chunk would be represented in a MessageFormat template, with any quoting removed. Note that this is distinct from toString in that the latter is intend for human consumption.
Returns the optionally quoted string value of this chunk as represented in a MessgeFormat string.
quote | true if the result should be quoted |
---|
Possibly quote a string in the MessageFormat-style.
Quote a string in the MessageFormat-style.
str | string to quote, must not be null |
---|