|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Renderer> com.atlassian.confluence.plugin.descriptor.DeviceTypeRendererComponentModuleDescriptor
public class DeviceTypeRendererComponentModuleDescriptor
A module descriptor for Renderer
components which associates an existing Spring configured Renderer
implementation with a particular device type. See ConversionContext.getOutputDeviceType()
for more
information about device types.
Renderer
for new output device types. For
example, the Confluence Mobile plugin may want to register a mobile specific Renderer.
Field Summary |
---|
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
moduleClass, moduleClassName, moduleFactory, plugin, resources, singleton |
Constructor Summary | |
---|---|
DeviceTypeRendererComponentModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
|
Method Summary | |
---|---|
Set<String> |
getDeviceTypes()
|
Renderer |
getModule()
Retrieve the named bean from Spring. |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
|
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
assertModuleClassImplements, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, 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 DeviceTypeRendererComponentModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail |
---|
public void init(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<Renderer>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Renderer>
com.atlassian.plugin.PluginParseException
public Renderer getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<Renderer>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Renderer>
ClassCastException
- if the bean identified by the key attribute is not of class Renderer
.public Set<String> getDeviceTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |