mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-23 13:06:54 +08:00
补充public方法的注释
This commit is contained in:
parent
e4df6c8a30
commit
a8871984e1
@ -53,6 +53,10 @@ public class XStreamTransformer {
|
|||||||
CLASS_2_XSTREAM_INSTANCE.put(clz, xStream);
|
CLASS_2_XSTREAM_INSTANCE.put(clz, xStream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 会自动注册该类及其子类
|
||||||
|
* @param clz 要注册的类
|
||||||
|
*/
|
||||||
public static void registerClass(Class<?> clz) {
|
public static void registerClass(Class<?> clz) {
|
||||||
XStream xstream = XStreamInitializer.getInstance();
|
XStream xstream = XStreamInitializer.getInstance();
|
||||||
xstream.processAnnotations(clz);
|
xstream.processAnnotations(clz);
|
||||||
|
Loading…
Reference in New Issue
Block a user