org.jboss.logging.generator
Class TranslationClassGenerator
java.lang.Object
org.jboss.logging.AbstractTool
org.jboss.logging.generator.TranslationClassGenerator
@SupportedOptions(value="translationFilesPath")
public final class TranslationClassGenerator
- extends AbstractTool
The translation class generator.
The aim of this generator is to generate
the classes corresponding to translation
files of a MessageLogger or MessageBundle.
- Author:
- Kevin Pollet - SERLI - (kevin.pollet@serli.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSLATION_FILES_PATH_OPTION
public static final String TRANSLATION_FILES_PATH_OPTION
- See Also:
- Constant Field Values
TranslationClassGenerator
public TranslationClassGenerator(ProcessingEnvironment processingEnv)
- Construct an instance of the Translation
Class Generator.
- Parameters:
processingEnv - the processing environmentannotations - the annotation descriptor.loggers - the logger descriptor.
processTypeElement
public void processTypeElement(TypeElement annotation,
TypeElement element,
MethodDescriptors methodDescriptors)
- Processes a type element.
- Specified by:
processTypeElement in class AbstractTool
- Parameters:
annotation - the annotation who trigger the processingelement - the element that contains the methods.methodDescriptors - the method descriptors.
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.