Class DeserializerConverterContextDecorator

  • All Implemented Interfaces:
    de.codecentric.reedelk.runtime.converter.DeserializerConverter

    public class DeserializerConverterContextDecorator
    extends Object
    implements de.codecentric.reedelk.runtime.converter.DeserializerConverter
    • Constructor Summary

      Constructors 
      Constructor Description
      DeserializerConverterContextDecorator​(de.codecentric.reedelk.runtime.converter.DeserializerConverter delegate, long moduleId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T convert​(Class<T> expectedClass, org.json.JSONArray jsonArray, int index)  
      <T> T convert​(Class<T> expectedClass, org.json.JSONArray jsonArray, int index, de.codecentric.reedelk.runtime.converter.DeserializerConverterContext context)  
      <T> T convert​(Class<T> expectedClass, org.json.JSONObject jsonObject, String propertyName)  
      <T> T convert​(Class<T> expectedClass, org.json.JSONObject jsonObject, String propertyName, de.codecentric.reedelk.runtime.converter.DeserializerConverterContext context)  
      boolean isPrimitive​(String fullyQualifiedName)  
      • Methods inherited from interface de.codecentric.reedelk.runtime.converter.DeserializerConverter

        convert, isPrimitive
    • Constructor Detail

      • DeserializerConverterContextDecorator

        public DeserializerConverterContextDecorator​(de.codecentric.reedelk.runtime.converter.DeserializerConverter delegate,
                                                     long moduleId)
    • Method Detail

      • isPrimitive

        public boolean isPrimitive​(String fullyQualifiedName)
        Specified by:
        isPrimitive in interface de.codecentric.reedelk.runtime.converter.DeserializerConverter
      • convert

        public <T> T convert​(Class<T> expectedClass,
                             org.json.JSONObject jsonObject,
                             String propertyName)
        Specified by:
        convert in interface de.codecentric.reedelk.runtime.converter.DeserializerConverter
      • convert

        public <T> T convert​(Class<T> expectedClass,
                             org.json.JSONArray jsonArray,
                             int index)
        Specified by:
        convert in interface de.codecentric.reedelk.runtime.converter.DeserializerConverter
      • convert

        public <T> T convert​(Class<T> expectedClass,
                             org.json.JSONObject jsonObject,
                             String propertyName,
                             de.codecentric.reedelk.runtime.converter.DeserializerConverterContext context)
        Specified by:
        convert in interface de.codecentric.reedelk.runtime.converter.DeserializerConverter
      • convert

        public <T> T convert​(Class<T> expectedClass,
                             org.json.JSONArray jsonArray,
                             int index,
                             de.codecentric.reedelk.runtime.converter.DeserializerConverterContext context)
        Specified by:
        convert in interface de.codecentric.reedelk.runtime.converter.DeserializerConverter