
public class FormVisitorDriver extends Object
MessageFormVisitor
instances when appropriate.| Constructor and Description |
|---|
FormVisitorDriver() |
| Modifier and Type | Method and Description |
|---|---|
void |
endMessage(Message msg)
Cleanup processing a message, including closing any outstanding
MessageFormVisitor calls. |
void |
initialize(Message msg)
Prepare for processing a new message.
|
void |
initialize(Message msg,
MessageFormVisitor formVisitor)
Prepare for processing a new message.
|
void |
setFormVisitor(int level,
MessageFormVisitor visitor)
Set a visitor for forms at a particular selector level.
|
void |
visitForms(String[] formNames)
Call methods on supplied
MessageFormVisitor instances according to
which forms have changed. |
public void endMessage(Message msg) throws MessageProcessingException
MessageFormVisitor calls. Typically called from
MessageVisitor.endMessage(Message, MessageTranslation).msg - MessageProcessingExceptionpublic void initialize(Message msg)
MessageInterfaceVisitor.visitMessage(Message, MessageTranslation).msg - public void initialize(Message msg, MessageFormVisitor formVisitor)
MessageInterfaceVisitor.visitMessage(Message, MessageTranslation).msg - formVisitor - a single MessageFormVisitor to be used for all
selector forms, or null if none or will be supplied laterpublic void setFormVisitor(int level,
MessageFormVisitor visitor)
MessageInterfaceVisitor.visitMessage(Message, MessageTranslation).level - visitor - public void visitForms(String[] formNames) throws MessageProcessingException
MessageFormVisitor instances according to
which forms have changed. Typically called from
MessageVisitor.visitTranslation(String[], boolean, com.google.gwt.i18n.server.MessageFormatUtils.MessageStyle, String).formNames - MessageProcessingExceptionCopyright © 2018. All rights reserved.