|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logging.processor.generator.model.ClassModelFactory
public class ClassModelFactory
Creates a class model for the message interface.
| Method Summary | |
|---|---|
static ClassModel |
implementation(MessageInterface messageInterface,
boolean useLogging31)
Creates an implementation code model from the message interface. |
static ClassModel |
translation(MessageInterface messageInterface,
String translationSuffix,
Map<MessageMethod,String> translations)
Creates a class model for created translation implementations of the message interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ClassModel implementation(MessageInterface messageInterface,
boolean useLogging31)
throws IllegalArgumentException
messageInterface - the message interface to implement.
IllegalArgumentException - if MessageInterface.isMessageBundle() or
MessageInterface.isMessageLogger() returns
false.
public static ClassModel translation(MessageInterface messageInterface,
String translationSuffix,
Map<MessageMethod,String> translations)
throws IllegalArgumentException
messageInterface - the message interface to implement.translationSuffix - the translation locale suffix.translations - a map of the translations for the methods.
IllegalArgumentException - if MessageInterface.isMessageBundle() or
MessageInterface.isMessageLogger() returns
false.
|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||