1 package com.atlassian.plugin.web.descriptors;
2
3 import com.atlassian.plugin.Plugin;
4 import com.atlassian.plugin.PluginParseException;
5 import com.atlassian.plugin.web.WebInterfaceManager;
6 import org.dom4j.Element;
7
8
9
10
11 public class DefaultWebSectionModuleDescriptor extends AbstractWebFragmentModuleDescriptor implements WebSectionModuleDescriptor
12 {
13 private String location;
14
15 public DefaultWebSectionModuleDescriptor(WebInterfaceManager webInterfaceManager)
16 {
17 super(webInterfaceManager);
18 }
19
20 public DefaultWebSectionModuleDescriptor()
21 {
22
23 }
24
25 public void init(Plugin plugin, Element element) throws PluginParseException
26 {
27 super.init(plugin, element);
28
29 location = element.attributeValue("location");
30 }
31
32 public String getLocation()
33 {
34 return location;
35 }
36 }