Class JsonNestedMapProcessor
java.lang.Object
jadex.transformation.jsonserializer.processors.AbstractJsonProcessor
jadex.transformation.jsonserializer.processors.JsonMapProcessor
jadex.transformation.jsonserializer.processors.JsonNestedMapProcessor
- All Implemented Interfaces:
jadex.common.transformation.traverser.ITraverseProcessor
Processor for reading nested maps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass
<?> getValueClass
(Object val, Object context) Returns the class of a map value.boolean
isApplicable
(Object object, Type type, boolean clone, ClassLoader targetcl) Test if the processor is applicable.Methods inherited from class jadex.transformation.jsonserializer.processors.JsonMapProcessor
getReturnObject, isApplicable, isApplicable, readObject, writeObject
Methods inherited from class jadex.transformation.jsonserializer.processors.AbstractJsonProcessor
isApplicable, process
-
Constructor Details
-
JsonNestedMapProcessor
public JsonNestedMapProcessor()
-
-
Method Details
-
isApplicable
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
Returns the class of a map value.- Overrides:
getValueClass
in classJsonMapProcessor
- Parameters:
val
- The value.context
- The context.- Returns:
- The value class.
-