Package org.tentackle.buildsupport
Class FxControllerBundleHandler
- java.lang.Object
-
- org.tentackle.buildsupport.AbstractAnalyzeHandler
-
- org.tentackle.buildsupport.BundleHandler
-
- org.tentackle.buildsupport.FxControllerBundleHandler
-
- All Implemented Interfaces:
AnalyzeHandler
public class FxControllerBundleHandler extends BundleHandler
Handler to extract the name of the resource bundle from the class annotated with @FxControllerService.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description FxControllerBundleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetBundleName(javax.lang.model.element.Element element, java.lang.String annotationName)Gets the bundlename from the annotated element.-
Methods inherited from class org.tentackle.buildsupport.BundleHandler
getProcessor, processAnnotation, setProcessor, xlateBundleName
-
Methods inherited from class org.tentackle.buildsupport.AbstractAnalyzeHandler
getDirectory
-
-
-
-
Method Detail
-
getBundleName
protected java.lang.String getBundleName(javax.lang.model.element.Element element, java.lang.String annotationName)Description copied from class:BundleHandlerGets the bundlename from the annotated element.- Overrides:
getBundleNamein classBundleHandler- Parameters:
element- the bundle nameannotationName- the annotation name (e.g. ...Bundle)- Returns:
- the bundle name, null if no bundle
-
-