Package io.jmix.core.common.util
Class Dom4j
java.lang.Object
io.jmix.core.common.util.Dom4j
Helper class for XML parsing.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SAXParser
static void
static org.dom4j.Document
readDocument
(File file) static org.dom4j.Document
readDocument
(File file, org.dom4j.io.SAXReader xmlReader) static org.dom4j.Document
readDocument
(InputStream stream) static org.dom4j.Document
readDocument
(InputStream stream, org.dom4j.io.SAXReader xmlReader) static org.dom4j.Document
readDocument
(Reader reader) static org.dom4j.Document
readDocument
(Reader reader, org.dom4j.io.SAXReader xmlReader) static org.dom4j.Document
readDocument
(String xmlString) static org.dom4j.Document
readDocument
(String xmlString, org.dom4j.io.SAXReader xmlReader) static void
static void
walkAttributes
(org.dom4j.Element element, Dom4j.ElementAttributeVisitor visitor) static void
walkAttributesRecursive
(org.dom4j.Element element, Dom4j.ElementAttributeVisitor visitor) static String
writeDocument
(org.dom4j.Document doc, boolean prettyPrint) static void
writeDocument
(org.dom4j.Document doc, boolean prettyPrint, OutputStream stream) static void
writeDocument
(org.dom4j.Document doc, boolean prettyPrint, Writer writer)
-
Method Details
-
readDocument
-
readDocument
-
readDocument
-
readDocument
-
getParser
-
readDocument
-
readDocument
-
readDocument
-
readDocument
-
writeDocument
-
writeDocument
-
writeDocument
-
storeMap
-
loadMap
-
walkAttributesRecursive
public static void walkAttributesRecursive(org.dom4j.Element element, Dom4j.ElementAttributeVisitor visitor) -
walkAttributes
-