com.atlassian.confluence.plugin.descriptor
Class LanguageModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.confluence.plugin.descriptor.LanguageModuleDescriptor
- All Implemented Interfaces:
- ModuleDescriptor, Resourced
- public class LanguageModuleDescriptor
- extends AbstractModuleDescriptor
Created by IntelliJ IDEA.
User: Jeremy Higgs
Date: 1/02/2006
Time: 15:58:45
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
assertModuleClassImplements, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, satisfiesMinJavaVersion, setPlugin, toString |
LanguageModuleDescriptor
public LanguageModuleDescriptor()
init
public void init(Plugin plugin,
org.dom4j.Element element)
throws PluginParseException
- Initialises the LanguageModuleDescriptor
- Parameters:
plugin
- The Plugin the ModuleDescriptor belongs toelement
- The XML Document to be parsed
- Throws:
PluginParseException
- if language is null
getModule
public Object getModule()
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
getLanguage
public String getLanguage()
setLanguage
public void setLanguage(String language)
getCountry
public String getCountry()
setCountry
public void setCountry(String country)
getVariant
public String getVariant()
setVariant
public void setVariant(String variant)
isLicensed
public boolean isLicensed()