public class XmlUtil extends Object
| 构造器和说明 |
|---|
XmlUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.dom4j.Document |
createNewDoc() |
static org.dom4j.Document |
createNewDoc(String encode) |
static org.dom4j.Document |
loadClassPathXml(String xmlPath) |
static org.dom4j.Document |
loadXml(String xmlPath) |
static void |
main(String[] args) |
static org.dom4j.Document |
parseText(String xmlStr) |
static String |
toXml(org.dom4j.Document document) |
public static org.dom4j.Document parseText(String xmlStr)
xmlStr - public static String toXml(org.dom4j.Document document)
document - public static org.dom4j.Document createNewDoc()
public static org.dom4j.Document createNewDoc(String encode)
public static org.dom4j.Document loadXml(String xmlPath)
public static org.dom4j.Document loadClassPathXml(String xmlPath)
public static void main(String[] args)
Copyright © 2018. All rights reserved.