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)
Deprecated.
Use Dom4j API.
|
static java.util.List<org.dom4j.Element> |
elements(org.dom4j.Element element)
Deprecated.
Use Dom4j API.
|
static java.util.List<org.dom4j.Element> |
elements(org.dom4j.Element element,
java.lang.String name)
Deprecated.
Use Dom4j API.
|
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.File file,
org.dom4j.io.SAXReader xmlReader) |
static org.dom4j.Document |
readDocument(java.io.InputStream stream) |
static org.dom4j.Document |
readDocument(java.io.InputStream stream,
org.dom4j.io.SAXReader xmlReader) |
static org.dom4j.Document |
readDocument(java.io.Reader reader) |
static org.dom4j.Document |
readDocument(java.io.Reader reader,
org.dom4j.io.SAXReader xmlReader) |
static org.dom4j.Document |
readDocument(java.lang.String xmlString) |
static org.dom4j.Document |
readDocument(java.lang.String xmlString,
org.dom4j.io.SAXReader xmlReader) |
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.lang.String xmlString, org.dom4j.io.SAXReader xmlReader)
public static org.dom4j.Document readDocument(java.io.Reader reader)
public static org.dom4j.Document readDocument(java.io.Reader reader, org.dom4j.io.SAXReader xmlReader)
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.InputStream stream, org.dom4j.io.SAXReader xmlReader)
public static org.dom4j.Document readDocument(java.io.File file)
public static org.dom4j.Document readDocument(java.io.File file, org.dom4j.io.SAXReader xmlReader)
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)
@Deprecated public static java.util.List<org.dom4j.Element> elements(org.dom4j.Element element)
@Deprecated public static java.util.List<org.dom4j.Element> elements(org.dom4j.Element element, java.lang.String name)
@Deprecated 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)