public class DefaultXmlWrapper extends AbstractWrapper
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
GT |
static String |
LT |
static String |
LT_CLOSE |
protected String |
rootTag |
| 构造器和说明 |
|---|
DefaultXmlWrapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
support(String format)
是否支持该格式
|
String |
wrap(Object o)
将指定对象包装为字符串
|
protected String |
wrap(Object o,
String tag) |
protected String |
wrapArray(Object o,
String tag) |
protected String |
wrapBool(Object o,
String tag) |
protected String |
wrapByteArray(Object o,
String tag) |
protected String |
wrapCollection(Object o,
String tag) |
protected String |
wrapDate(Object o,
String tag) |
protected String |
wrapEnumeration(Object o,
String tag) |
protected String |
wrapMap(Object o,
String tag) |
protected String |
wrapNumber(Object o,
String tag) |
protected String |
wrapObject(Object o) |
protected String |
wrapString(Object o,
String tag) |
protected String rootTag
Copyright © 2023. All Rights Reserved.