com.atlassian.jira.plugin.util
Class ModuleDescriptorXMLUtils
java.lang.Object
com.atlassian.jira.plugin.util.ModuleDescriptorXMLUtils
public class ModuleDescriptorXMLUtils
- extends Object
Method Summary |
static int |
getOrder(org.dom4j.Element element)
Given an XML Element, find a child element called 'order', and get the value of it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ORDER
public static final int DEFAULT_ORDER
- See Also:
- Constant Field Values
getOrder
public static int getOrder(org.dom4j.Element element)
- Given an XML Element, find a child element called 'order', and get the value of it. eg:
<project-tabpanel ...>
<order>10</order>
</project-tabpanel>
- Parameters:
element
- The parent element (in this case 'project-tabpanel')
- Returns:
- The order. In the example above, this would be '10'. If no order is specified in the XML, then
DEFAULT_ORDER
is returned.
Copyright © 2002-2012 Atlassian. All Rights Reserved.