Class JsonNestedMapProcessor

All Implemented Interfaces:
jadex.common.transformation.traverser.ITraverseProcessor

public class JsonNestedMapProcessor extends JsonMapProcessor
Processor for reading nested maps.
  • Constructor Details

    • JsonNestedMapProcessor

      public JsonNestedMapProcessor()
  • Method Details

    • isApplicable

      public boolean isApplicable(Object object, Type type, boolean clone, ClassLoader targetcl)
      Test if the processor is applicable.
      Parameters:
      object - The object.
      targetcl - If not null, the traverser should make sure that the result object is compatible with the class loader, e.g. by cloning the object using the class loaded from the target class loader.
      Returns:
      True, if is applicable.
    • getValueClass

      public Class<?> getValueClass(Object val, Object context)
      Returns the class of a map value.
      Overrides:
      getValueClass in class JsonMapProcessor
      Parameters:
      val - The value.
      context - The context.
      Returns:
      The value class.