com.atlassian.confluence.plugin.descriptor
Class LanguageModuleDescriptor

java.lang.Object
  extended bycom.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended bycom.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


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
plugin, resources, singleton
 
Constructor Summary
LanguageModuleDescriptor()
           
 
Method Summary
 String getCountry()
           
 String getEncoding()
           
 String getLanguage()
           
 Object getModule()
           
 String getVariant()
           
 void init(Plugin plugin, org.dom4j.Element element)
          Initialises the LanguageModuleDescriptor
 boolean isLicensed()
           
 void setCountry(String country)
           
 void setEncoding(String encoding)
           
 void setLanguage(String language)
           
 void setVariant(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, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LanguageModuleDescriptor

public LanguageModuleDescriptor()
Method Detail

init

public void init(Plugin plugin,
                 org.dom4j.Element element)
          throws PluginParseException
Initialises the LanguageModuleDescriptor

Parameters:
plugin - The Plugin the ModuleDescriptor belongs to
element - 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()


Confluence is developed by Atlassian.