Class TreeMarshaller

    • Method Detail

      • convertAnother

        public void convertAnother​(java.lang.Object item)
        Description copied from interface: MarshallingContext
        Converts another object searching for the default converter
        Specified by:
        convertAnother in interface MarshallingContext
        Parameters:
        item - the next item to convert
      • convertAnother

        public void convertAnother​(java.lang.Object item,
                                   Converter converter)
        Description copied from interface: MarshallingContext
        Converts another object using the specified converter
        Specified by:
        convertAnother in interface MarshallingContext
        Parameters:
        item - the next item to convert
        converter - the Converter to use
      • convert

        protected void convert​(java.lang.Object item,
                               Converter converter)
      • start

        public void start​(java.lang.Object item,
                          DataHolder dataHolder)
      • get

        public java.lang.Object get​(java.lang.Object key)
        Specified by:
        get in interface DataHolder
      • put

        public void put​(java.lang.Object key,
                        java.lang.Object value)
        Specified by:
        put in interface DataHolder
      • keys

        public java.util.Iterator keys()
        Specified by:
        keys in interface DataHolder
      • lazilyCreateDataHolder

        private void lazilyCreateDataHolder()
      • getMapper

        protected Mapper getMapper()