cn.gtmap.estateplat.utils
类 CompareXmlUtil
java.lang.Object
cn.gtmap.estateplat.utils.CompareXmlUtil
public class CompareXmlUtil
- extends Object
- 版本:
- 1.0, 2020-10-22
- 作者:
- sunchao
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompareXmlUtil
public CompareXmlUtil()
xml2map
public static Map xml2map(String xmlStr,
boolean needRootKey)
throws org.dom4j.DocumentException
- xml转map 不带属性
- 参数:
xmlStr - needRootKey - 是否需要在返回的map里加根节点键
- 返回:
-
- 抛出:
org.dom4j.DocumentException
map2xml
public static org.dom4j.Document map2xml(Map<String,Object> map,
String rootName)
setAttributes
public static org.dom4j.Element setAttributes(Map map,
org.dom4j.Element subElement)
chomp
public static String chomp(String str)
getPxZd
public static Map<String,String> getPxZd()
getQcZd
public static Map<String,String> getQcZd()
getQcJd
public static Map<String,String> getQcJd()
Copyright © 2015–2021 cn.gtmap. All rights reserved.