Package | Description |
---|---|
com.google.gwt.i18n.server |
This package contains server-side i18n classes and interfaces.
|
com.google.gwt.i18n.server.impl |
Modifier and Type | Method and Description |
---|---|
void |
MessageInterface.accept(MessageInterfaceVisitor cv)
Visit this class and all messages within it, using the default locale.
|
void |
AbstractMessageInterface.accept(MessageInterfaceVisitor cv) |
void |
MessageInterface.accept(MessageInterfaceVisitor cv,
GwtLocale locale)
Visit this class and all messages within it.
|
void |
AbstractMessageInterface.accept(MessageInterfaceVisitor cv,
GwtLocale locale) |
void |
AbstractMessage.accept(MessageVisitor mv) |
void |
Message.accept(MessageVisitor v)
Accept a
MessageVisitor . |
void |
AbstractMessage.accept(MessageVisitor mv,
GwtLocale locale) |
void |
Message.accept(MessageVisitor v,
GwtLocale locale)
Accept a
MessageVisitor , using translations from the requested
locale. |
void |
MessageFormVisitor.beginForm(int level,
String formName)
Called before any messages underneath this form are processed.
|
void |
MessageFormVisitor.beginSelector(int level,
Parameter selectorArg)
Called before the first form for a given selector is processed.
|
void |
MessageFormVisitor.endForm(int level,
String formName)
Called after all messages underneath this form have been processed.
|
void |
FormVisitorDriver.endMessage(Message msg)
Cleanup processing a message, including closing any outstanding
MessageFormVisitor calls. |
void |
MessageVisitor.endMessage(Message msg,
MessageTranslation trans)
Called after processing a message is complete.
|
void |
DefaultVisitor.endMessage(Message msg,
MessageTranslation trans) |
void |
MessageInterfaceVisitor.endMessageInterface(MessageInterface msgIntf)
Called after processing a message interface is complete.
|
void |
DefaultVisitor.endMessageInterface(MessageInterface msgIntf) |
void |
MessageFormVisitor.endSelector(int level,
Parameter selectorArg)
Called after the last form of a givne selector has been processed.
|
abstract Iterable<Message> |
AbstractMessageInterface.getMessages()
Gets the list of messages defined in this interface, including inherited.
|
MessageCatalogFactory.Writer |
MessageCatalogFactory.getWriter(MessageCatalogFactory.Context context,
String fileName)
Return a
MessageCatalogFactory.Writer that can be used to write the source
of the messages to be translated for this class. |
void |
FormVisitorDriver.visitForms(String[] formNames)
Call methods on supplied
MessageFormVisitor instances according to
which forms have changed. |
MessageVisitor |
MessageInterfaceVisitor.visitMessage(Message msg,
MessageTranslation trans)
Visit a single message in the current
MessageInterface . |
MessageVisitor |
DefaultVisitor.visitMessage(Message msg,
MessageTranslation trans) |
void |
MessageInterfaceVisitor.visitMessageInterface(MessageInterface msgIntf,
GwtLocale sourceLocale)
Called at the start of processing a new message interface.
|
void |
DefaultVisitor.visitMessageInterface(MessageInterface msgIntf,
GwtLocale sourceLocale) |
void |
MessageVisitor.visitTranslation(String[] formNames,
boolean isDefault,
MessageFormatUtils.MessageStyle style,
String msg)
Called to process one variant of a message.
|
void |
DefaultVisitor.visitTranslation(String[] formNames,
boolean isDefault,
MessageFormatUtils.MessageStyle style,
String msg) |
Modifier and Type | Method and Description |
---|---|
Iterable<Message> |
ReflectionMessageInterface.getMessages() |
Copyright © 2018. All rights reserved.