public interface MessageInterface
Message
s.Modifier and Type | Method and Description |
---|---|
void |
accept(MessageInterfaceVisitor cv)
Visit this class and all messages within it, using the default locale.
|
void |
accept(MessageInterfaceVisitor cv,
GwtLocale locale)
Visit this class and all messages within it.
|
<A extends Annotation> |
getAnnotation(Class<A> annotClass)
Return the requested annotation present on this message, including parents
if the annotation is inherited.
|
String |
getClassName()
Get the unqualified class name (including parent classes for nested
classes - ie, "Foo.Bar") of this
MessageInterface . |
String |
getPackageName()
Get the package name (ie, "org.example") of this
MessageInterface . |
String |
getQualifiedName()
Get the fully qualified source name (ie, "org.example.Foo.Bar": if Bar is
an inner class of Foo) of this message interface - generally used for
error messages.
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotClass)
Check if a specified annotation is present on this message (including
via inheritance if the annotation is inherited).
|
void accept(MessageInterfaceVisitor cv) throws MessageProcessingException
cv
- MessageProcessingException
void accept(MessageInterfaceVisitor cv, GwtLocale locale) throws MessageProcessingException
cv
- locale
- MessageProcessingException
<A extends Annotation> A getAnnotation(Class<A> annotClass)
annotClass
- String getClassName()
MessageInterface
.String getPackageName()
MessageInterface
.String getQualifiedName()
boolean isAnnotationPresent(Class<? extends Annotation> annotClass)
annotClass
- Copyright © 2018. All rights reserved.