Class SimpleXpathMetadatumAndAttributeContributor

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

    public class SimpleXpathMetadatumAndAttributeContributor
    extends SimpleXpathMetadatumContributor
    This contributor checks for each node returned for the supplied path if node contains supplied attribute - the value of the current node is taken if exist.
    Author:
    Boychuk Mykhaylo (boychuk.mykhaylo at 4Science dot com)
    • Constructor Detail

      • SimpleXpathMetadatumAndAttributeContributor

        public SimpleXpathMetadatumAndAttributeContributor()
    • Method Detail

      • getAttribute

        public String getAttribute()
      • setAttribute

        public void setAttribute​(String attribute)