public class XmlHelper extends Object
| Constructor and Description | 
|---|
XmlHelper()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
getContent(Element element)
This method will return the content of this particular  
element. | 
static Integer | 
getLoadOrder(Document doc)
Return the value of the "order" attribute from the root element 
 | 
static Map<String,String> | 
getParams(Element paramsElement)
This method will find all the parameters under this  
paramsElement and return them as
 Map | 
public static Map<String,String> getParams(Element paramsElement)
paramsElement and return them as
 Mapwill returns a Mapvalue1 value2 value3 
paramsElement - public static String getContent(Element element)
element.
 For example,
 
 
    something_1 
 
 When the Element <result> is passed in as
 argument (element to this method, it returns the content of it,
 namely, something_1 in the example above.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.