com.atlassian.confluence.plugin.descriptor
Class LanguageModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.confluence.plugin.descriptor.LanguageModuleDescriptor
- All Implemented Interfaces:
- com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced
public class LanguageModuleDescriptor
- extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Created by IntelliJ IDEA.
User: Jeremy Higgs
Date: 1/02/2006
Time: 15:58:45
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
plugin, resources, singleton |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LanguageModuleDescriptor
public LanguageModuleDescriptor()
init
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
- Initialises the LanguageModuleDescriptor
- Specified by:
init
in interface com.atlassian.plugin.ModuleDescriptor
- Overrides:
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
- Parameters:
plugin
- The Plugin the ModuleDescriptor belongs toelement
- The XML Document to be parsed
- Throws:
com.atlassian.plugin.PluginParseException
- if language is null
getModule
public java.lang.Object getModule()
- Specified by:
getModule
in interface com.atlassian.plugin.ModuleDescriptor
- Specified by:
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
getEncoding
public java.lang.String getEncoding()
setEncoding
public void setEncoding(java.lang.String encoding)
getLanguage
public java.lang.String getLanguage()
setLanguage
public void setLanguage(java.lang.String language)
getCountry
public java.lang.String getCountry()
setCountry
public void setCountry(java.lang.String country)
getVariant
public java.lang.String getVariant()
setVariant
public void setVariant(java.lang.String variant)
isLicensed
public boolean isLicensed()
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.