|
||||||||||
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 |
---|
moduleClassName, moduleFactory, plugin, resources, singleton |
Constructor Summary | |
---|---|
LanguageModuleDescriptor()
|
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 |
boolean |
isLicensed()
|
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, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LanguageModuleDescriptor()
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)
public boolean isLicensed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |