org.apache.myfaces.extensions.cdi.scripting.impl.spi
Interface LanguageBean

All Superinterfaces:
Language
All Known Implementing Classes:
AbstractLanguageBean, BeanShellLanguageBean, FreeMarkerLanguageBean, GroovyLanguageBean, JavaScriptLanguageBean, JRubyLanguageBean, JythonLanguageBean

public interface LanguageBean
extends Language

Author:
Gerhard Petracek

Method Summary
 String[] getAlternativeNames()
          TODO Names which can be used for the LanguageManager
 Class<? extends Language> getId()
          Type-safe id which should be used to identify the language
 
Methods inherited from interface org.apache.myfaces.extensions.cdi.scripting.api.language.Language
getName
 

Method Detail

getId

Class<? extends Language> getId()
Type-safe id which should be used to identify the language

Returns:
id of the language

getAlternativeNames

String[] getAlternativeNames()
TODO Names which can be used for the LanguageManager

Returns:
possible names for the the current language


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.