|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.config.providers.XmlHelper
public class XmlHelper
XML utilities.
Constructor Summary | |
---|---|
XmlHelper()
|
Method Summary | |
---|---|
static java.lang.String |
getContent(org.w3c.dom.Element element)
This method will return the content of this particular element . |
static java.lang.Integer |
getLoadOrder(org.w3c.dom.Document doc)
Return the value of the "order" attribute from the root element |
static java.util.Map<java.lang.String,java.lang.String> |
getParams(org.w3c.dom.Element paramsElement)
This method will find all the parameters under this paramsElement and return them as
Map |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlHelper()
Method Detail |
---|
public static java.util.Map<java.lang.String,java.lang.String> getParams(org.w3c.dom.Element paramsElement)
paramsElement
and return them as
Mapwill returns a Mapvalue1 value2 value3
paramsElement
-
public static java.lang.String getContent(org.w3c.dom.Element element)
element
.
For example,
When thesomething_1
Element
<result>
is passed in as
argument (element
to this method, it returns the content of it,
namely, something_1
in the example above.
public static java.lang.Integer getLoadOrder(org.w3c.dom.Document doc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |