public class XmlTools extends Object
| Constructor and Description |
|---|
XmlTools() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
parseObject(String xmlContent,
Class<T> clazz)
解析xml为对象
|
static String |
toXmlString(Object object)
对象转XML
|
Copyright © 2022. All rights reserved.