Class PageRangeXPathMetadataContributor

  • All Implemented Interfaces:
    MetadataContributor<org.jdom2.Element>

    public class PageRangeXPathMetadataContributor
    extends SimpleXpathMetadatumContributor
    Scopus specific implementation of MetadataContributor Responsible for generating the Scopus startPage and endPage from the retrieved item.
    Author:
    Boychuk Mykhaylo (boychuk.mykhaylo at 4science.com)
    • Constructor Detail

      • PageRangeXPathMetadataContributor

        public PageRangeXPathMetadataContributor()
    • Method Detail

      • contributeMetadata

        public Collection<MetadatumDTO> contributeMetadata​(org.jdom2.Element el)
        Retrieve the metadata associated with the given Element object. Depending on the retrieved node (using the query), StartPage and EndPage values will be added to the MetadatumDTO list
        Specified by:
        contributeMetadata in interface MetadataContributor<org.jdom2.Element>
        Overrides:
        contributeMetadata in class SimpleXpathMetadatumContributor
        Parameters:
        el - A class to retrieve metadata from.
        Returns:
        A collection of import records. Only the StartPage and EndPage of the found records may be put in the record.
      • setStartPageMetadata

        public void setStartPageMetadata​(MetadataFieldConfig startPageMetadata)