| java.lang.Object com.opensymphony.xwork.config.providers.XmlHelper
XmlHelper | public class XmlHelper (Code) | | XML utilities.
author: Mike author: tmjee |
Method Summary | |
public static String | getContent(Element element) This method will return the content of this particular element . | public static Map | getParams(Element paramsElement) This method will find all the parameters under this paramsElement and return them as
Map. |
getContent | public static String getContent(Element element)(Code) | | This method will return the content of this particular element .
For example,
something_1
When the
org.w3c.dom.Element <result> is passed in as
argument (element to this method, it returns the content of it,
namely, something_1 in the example above.
|
getParams | public static Map getParams(Element paramsElement)(Code) | | This method will find all the parameters under this paramsElement and return them as
Map. For example,
value1
value2
value3
will returns a Map with the following key, value pairs :-
- param1 - value1
- param2 - value2
- param3 - value3
Parameters: paramsElement - |
|
|