Class ReplaceCharacterXPathMetadataContributor

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

    public class ReplaceCharacterXPathMetadataContributor
    extends SimpleXpathMetadatumContributor
    This contributor replace specific character in the metadata value. It is useful for some provider (e.g. Scopus) which use containing "/" character. Actually, "/" will never encode by framework in URL building. In the same ways, if we encode "/" -> %2F, it will be encoded by framework and become %252F.
    Author:
    Boychuk Mykhaylo (boychuk.mykhaylo at 4science.com)
    • Constructor Detail

      • ReplaceCharacterXPathMetadataContributor

        public ReplaceCharacterXPathMetadataContributor()
    • Method Detail

      • setCharacterToBeReplaced

        public void setCharacterToBeReplaced​(int characterToBeReplaced)
      • setCharacterToReplaceWith

        public void setCharacterToReplaceWith​(int characterToReplaceWith)