public static class

MessageFormatParser.ArgumentChunk

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

Class Overview

Represents an argument in a template string.

Summary

Public Constructors
MessageFormatParser.ArgumentChunk(int argNumber, Map<StringString> listArgs, String format, Map<StringString> formatArgs, String subformat)
Public Methods
void accept(MessageFormatParser.TemplateChunkVisitor visitor)
int getArgumentNumber()
String getFormat()
Map<StringString> getFormatArgs()
Map<StringString> getListArgs()
String getSubFormat()
boolean isList()
String toString()
Protected Methods
String getStringValue(boolean quote)
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.ArgumentChunk (int argNumber, Map<StringString> listArgs, String format, Map<StringString> formatArgs, String subformat)

Public Methods

public void accept (MessageFormatParser.TemplateChunkVisitor visitor)

Throws
UnableToCompleteException

public int getArgumentNumber ()

public String getFormat ()

public Map<StringString> getFormatArgs ()

public Map<StringString> getListArgs ()

public String getSubFormat ()

public boolean isList ()

public String toString ()

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