ch.qos.cal10n.util
Class AbstractAnnotationExtractor

java.lang.Object
  extended by ch.qos.cal10n.util.AbstractAnnotationExtractor
All Implemented Interfaces:
AnnotationExtractor
Direct Known Subclasses:
AnnotationExtractorViaEnumClass, AnnotationExtractorViaTypeElement

public abstract class AbstractAnnotationExtractor
extends Object
implements AnnotationExtractor

A base implementation which can extract cal10n annotation data from a yet unspecified "enumType" type, e.g. an enum class or an enum Element.

Since:
0.8
Author:
Ceki Gulcu

Constructor Summary
AbstractAnnotationExtractor()
           
 
Method Summary
 String extractCharset(Locale juLocale)
           
protected abstract  LocaleData extractLocaleData()
           
 String[] extractLocaleNames()
           
 Locale[] extractLocales()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.qos.cal10n.util.AnnotationExtractor
getBaseName
 

Constructor Detail

AbstractAnnotationExtractor

public AbstractAnnotationExtractor()
Method Detail

extractLocaleData

protected abstract LocaleData extractLocaleData()

extractLocales

public Locale[] extractLocales()
Specified by:
extractLocales in interface AnnotationExtractor

extractLocaleNames

public String[] extractLocaleNames()
Specified by:
extractLocaleNames in interface AnnotationExtractor

extractCharset

public String extractCharset(Locale juLocale)
Specified by:
extractCharset in interface AnnotationExtractor


Copyright © 2009-2013 QOS.ch. All Rights Reserved.