|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Language> com.atlassian.confluence.plugin.descriptor.LanguageModuleDescriptor
public class LanguageModuleDescriptor
Field Summary |
---|
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
Constructor Summary | |
---|---|
LanguageModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
|
Method Summary | |
---|---|
void |
disabled()
|
void |
enabled()
|
java.lang.String |
getCountry()
|
java.lang.String |
getEncoding()
|
java.lang.String |
getLanguage()
|
Language |
getModule()
|
java.lang.String |
getVariant()
|
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
Initialises the LanguageModuleDescriptor |
void |
setCountry(java.lang.String country)
|
void |
setEncoding(java.lang.String encoding)
|
void |
setLanguage(java.lang.String language)
|
void |
setVariant(java.lang.String variant)
|
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LanguageModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail |
---|
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<Language>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Language>
plugin
- The Plugin the ModuleDescriptor belongs toelement
- The XML Document to be parsed
com.atlassian.plugin.PluginParseException
- if language is nullpublic Language getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<Language>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Language>
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Language>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Language>
public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
public java.lang.String getCountry()
public void setCountry(java.lang.String country)
public java.lang.String getVariant()
public void setVariant(java.lang.String variant)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |