public class ModuleDescriptorXMLUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ORDER |
Modifier and Type | Method and Description |
---|---|
static Optional<String> |
getClass(org.dom4j.Element element)
Given an XML Element, find an attribute called 'class', and get its value of it.
|
static int |
getOrder(org.dom4j.Element element)
Given an XML Element, find a child element called 'order', and get the value of it.
|
public static final int DEFAULT_ORDER
public static int getOrder(org.dom4j.Element element)
<project-tabpanel ...>
<order>10</order>
</project-tabpanel>
element
- The parent element (in this case 'project-tabpanel')DEFAULT_ORDER
is returned.Copyright © 2002-2017 Atlassian. All Rights Reserved.