Class ArrayElementAttributeProcessor

java.lang.Object
org.dspace.importer.external.metadatamapping.contributor.ArrayElementAttributeProcessor
All Implemented Interfaces:
JsonPathMetadataProcessor

public class ArrayElementAttributeProcessor extends Object implements JsonPathMetadataProcessor
This Processor allows to extract attribute values of an array. For example to extract all values of secondAttribute, "array":[ { "firstAttribute":"first value", "secondAttribute":"second value" }, { "firstAttribute":"first value", "secondAttribute":"second value" } ] it's possible configure a bean with pathToArray=/array and elementAttribute=/secondAttribute
Author:
Mykhaylo Boychuk (mykhaylo.boychuk@4science.com)
  • Constructor Details

    • ArrayElementAttributeProcessor

      public ArrayElementAttributeProcessor()
  • Method Details