|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.mccrory.scott.base.Dom4jHelper
Contains methods to make working with dom4j objects a little easier.
| Constructor Summary | |
Dom4jHelper()
Dom4jHelper constructor. |
|
| Method Summary | |
static java.util.HashMap |
getAttributes(org.dom4j.Element element)
Returns a HashMap of all the attributes in the passed-in XML/Dom4J Element. |
static java.util.Vector |
getChildElementNames(org.dom4j.Element element)
Returns the names of all the child elements of a passed-in Element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Dom4jHelper()
| Method Detail |
public static java.util.HashMap getAttributes(org.dom4j.Element element)
HashMap attribMap = Dom4jHelper.getAttributes(myElement);
element - org.dom4j.Element that you want the attributes of.public static java.util.Vector getChildElementNames(org.dom4j.Element element)
Vector childElements = Dom4jHelper.getChildElementNames(myElement);
element - org.dom4j.Element that you want the child element names of.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||