search

Home  >  Q&A  >  body text

java - 为什么要实现Xstream中的shouldSerializeMember

大家讲道理大家讲道理2815 days ago833

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-18 10:10:35

    The function of this code is to smoothly convert the object when it changes, otherwise an error will be reported when the object and xml do not match.

    reply
    0
  • 迷茫

    迷茫2017-04-18 10:10:35

    Never used itXStream, it looks like it’s an xml parser?

    From the code analysis, XStream可能是一个接口、抽象类或类,这段代码的意思就是重写了XStream里面的wrapMapper may be an interface, abstract class or class. The meaning of this code is to rewrite the wrapMapper method in

    . 🎜

    reply
    0
  • Cancelreply