Class XmlHandler<U>


  • public class XmlHandler<U>
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      XmlHandler​(java.lang.Class<U> clazz)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String marshal​(U obj)  
      U unmarshal​(java.lang.String xml)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlHandler

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

      • marshal

        public java.lang.String marshal​(U obj)
      • unmarshal

        public U unmarshal​(java.lang.String xml)