Class XmlHandler<U>


  • public class XmlHandler<U>
    extends Object
    Fast XML marshaling and unmarshaling. This class attempts to perform as much of the initialization as possible when constructed, in order to make the calls to marshal(Object) and unmarshal(String) as quick as possible. Instances of theses objects are not thread safe.
    Author:
    jwhite
    • Constructor Detail

      • XmlHandler

        public XmlHandler​(Class<U> clazz)
    • Method Detail

      • marshal

        public String marshal​(U obj)
      • unmarshal

        public U unmarshal​(String xml)