public final class Dom4j
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Dom4j.ElementAttributeVisitor |
Modifier and Type | Method and Description |
---|---|
static java.util.List<org.dom4j.Attribute> |
attributes(org.dom4j.Element element) |
static java.util.List<org.dom4j.Element> |
elements(org.dom4j.Element element) |
static java.util.List<org.dom4j.Element> |
elements(org.dom4j.Element element,
java.lang.String name) |
static javax.xml.parsers.SAXParser |
getParser() |
static void |
loadMap(org.dom4j.Element mapElement,
java.util.Map<java.lang.String,java.lang.String> map) |
static org.dom4j.Document |
readDocument(java.io.File file) |
static org.dom4j.Document |
readDocument(java.io.InputStream stream) |
static org.dom4j.Document |
readDocument(java.io.Reader reader) |
static org.dom4j.Document |
readDocument(java.lang.String xmlString) |
static void |
storeMap(org.dom4j.Element parentElement,
java.util.Map<java.lang.String,java.lang.String> map) |
static void |
walkAttributes(org.dom4j.Element element,
Dom4j.ElementAttributeVisitor visitor) |
static void |
walkAttributesRecursive(org.dom4j.Element element,
Dom4j.ElementAttributeVisitor visitor) |
static java.lang.String |
writeDocument(org.dom4j.Document doc,
boolean prettyPrint) |
static void |
writeDocument(org.dom4j.Document doc,
boolean prettyPrint,
java.io.OutputStream stream) |
static void |
writeDocument(org.dom4j.Document doc,
boolean prettyPrint,
java.io.Writer writer) |
public static org.dom4j.Document readDocument(java.lang.String xmlString)
public static org.dom4j.Document readDocument(java.io.Reader reader)
public static javax.xml.parsers.SAXParser getParser()
public static org.dom4j.Document readDocument(java.io.InputStream stream)
public static org.dom4j.Document readDocument(java.io.File file)
public static java.lang.String writeDocument(org.dom4j.Document doc, boolean prettyPrint)
public static void writeDocument(org.dom4j.Document doc, boolean prettyPrint, java.io.Writer writer)
public static void writeDocument(org.dom4j.Document doc, boolean prettyPrint, java.io.OutputStream stream)
public static java.util.List<org.dom4j.Element> elements(org.dom4j.Element element)
public static java.util.List<org.dom4j.Element> elements(org.dom4j.Element element, java.lang.String name)
public static java.util.List<org.dom4j.Attribute> attributes(org.dom4j.Element element)
public static void storeMap(org.dom4j.Element parentElement, java.util.Map<java.lang.String,java.lang.String> map)
public static void loadMap(org.dom4j.Element mapElement, java.util.Map<java.lang.String,java.lang.String> map)
public static void walkAttributesRecursive(org.dom4j.Element element, Dom4j.ElementAttributeVisitor visitor)
public static void walkAttributes(org.dom4j.Element element, Dom4j.ElementAttributeVisitor visitor)