public class LanguagesConfigElement
extends org.springframework.extensions.config.element.ConfigElementAdapter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_ELEMENT_ID |
| Constructor and Description |
|---|
LanguagesConfigElement()
Default Constructor
|
LanguagesConfigElement(java.lang.String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.extensions.config.ConfigElement |
combine(org.springframework.extensions.config.ConfigElement configElement) |
java.util.List |
getChildren() |
java.lang.String |
getLabelForLanguage(java.lang.String locale) |
java.util.List |
getLanguages() |
public static final java.lang.String CONFIG_ELEMENT_ID
public LanguagesConfigElement()
public LanguagesConfigElement(java.lang.String name)
name - Name of the element this config element representspublic java.util.List getChildren()
getChildren in interface org.springframework.extensions.config.ConfigElementgetChildren in class org.springframework.extensions.config.element.ConfigElementAdapterConfigElementAdapter.getChildren()public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
combine in interface org.springframework.extensions.config.ConfigElementcombine in class org.springframework.extensions.config.element.ConfigElementAdapterorg.springframework.extensions.config.element.ConfigElementAdapter#combine(org.alfresco.config.ConfigElement)public java.util.List getLanguages()
public java.lang.String getLabelForLanguage(java.lang.String locale)
locale - The locale string to lookup language label forCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.