Class ListsuffixResultDeserializer


  • public class ListsuffixResultDeserializer
    extends Object
    对 后缀为_$n 的 xml节点反序列化
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    • Constructor Detail

      • ListsuffixResultDeserializer

        public ListsuffixResultDeserializer()
    • Method Detail

      • deserialize

        public static <T> T deserialize​(String content,
                                        Class<T> clazz)
        对包含$n节点的xml反序列化
        Parameters:
        content - xml内容
        clazz -
        Returns:
      • deserializeToListWrapper

        public static <T> ListWrapper<T> deserializeToListWrapper​(String content,
                                                                  Class<T> clazz,
                                                                  String... matchPattern)
      • getListsuffixFields

        public static Map<Field,​String[]> getListsuffixFields​(Class<?> clazz)