public static class

MessageFormatParser.StaticArgChunk

extends MessageFormatParser.TemplateChunk
java.lang.Object
   ↳ com.google.gwt.i18n.rebind.MessageFormatParser.TemplateChunk
     ↳ com.google.gwt.i18n.rebind.MessageFormatParser.StaticArgChunk

Class Overview

Represents a static argument, which is used to remove markup from translator view without having to supply it at each callsite.

Summary

Public Constructors
MessageFormatParser.StaticArgChunk(String argName, String replacement)
Public Methods
void accept(MessageFormatParser.TemplateChunkVisitor visitor)
String getArgName()
String getReplacement()
Protected Methods
String getStringValue(boolean quoted)
Returns the optionally quoted string value of this chunk as represented in a MessgeFormat string.
[Expand]
Inherited Methods
From class com.google.gwt.i18n.rebind.MessageFormatParser.TemplateChunk
From class java.lang.Object

Public Constructors

public MessageFormatParser.StaticArgChunk (String argName, String replacement)

Public Methods

public void accept (MessageFormatParser.TemplateChunkVisitor visitor)

Throws
UnableToCompleteException

public String getArgName ()

public String getReplacement ()

Protected Methods

protected String getStringValue (boolean quoted)

Returns the optionally quoted string value of this chunk as represented in a MessgeFormat string.

Parameters
quoted true if the result should be quoted
Returns
  • optionally quoted MessageFormat string