public class Dom4JUtility extends Object
| Constructor and Description |
|---|
Dom4JUtility() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getAttributeAsBoolean(org.dom4j.Element element,
String attributeName,
boolean defaultValue) |
static org.dom4j.Element |
getChild(org.dom4j.Element parent,
String attribute,
String attributeValue)
Thie returns the node that is a child of hte specified parent that has the specified attribute with the specified value.
|
static org.dom4j.Element |
getChild(org.dom4j.Element parent,
String tagName,
String attribute,
String attributeValue)
This returns the node that is a child of the specified parent that has the specified 'name' and an attribute with the specified value.
|
static List<org.dom4j.Element> |
getChildren(org.dom4j.Element parent,
String attribute,
String attributeValue)
Thie returns the node that is a child of hte specified parent that has the specified attribute with the specified value.
|
static List<org.dom4j.Element> |
getChildren(org.dom4j.Element parent,
String tagName,
String attribute,
String attributeValue) |
static void |
setAttributeAsBoolean(org.dom4j.Element element,
String attribute,
boolean value) |
public static org.dom4j.Element getChild(org.dom4j.Element parent,
String tagName,
String attribute,
String attributeValue)
public static List<org.dom4j.Element> getChildren(org.dom4j.Element parent, String tagName, String attribute, String attributeValue)
public static org.dom4j.Element getChild(org.dom4j.Element parent,
String attribute,
String attributeValue)
public static List<org.dom4j.Element> getChildren(org.dom4j.Element parent, String attribute, String attributeValue)
public static void setAttributeAsBoolean(org.dom4j.Element element,
String attribute,
boolean value)
public static boolean getAttributeAsBoolean(org.dom4j.Element element,
String attributeName,
boolean defaultValue)
Copyright © 2013. All rights reserved