Class SimpleXpathDateFormatMetadataContributor

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

    public class SimpleXpathDateFormatMetadataContributor
    extends SimpleXpathMetadatumContributor
    This contributor can be used when parsing an XML file, particularly to extract a date and convert it to a specific format. In the variable dateFormatFrom the read format should be configured, instead in the variable dateFormatTo the format you want to obtain.
    Author:
    Mykhaylo Boychuk (mykhaylo.boychuk at 4science.com)
    • Constructor Detail

      • SimpleXpathDateFormatMetadataContributor

        public SimpleXpathDateFormatMetadataContributor()
    • Method Detail

      • setDateFormatFrom

        public void setDateFormatFrom​(String dateFormatFrom)
      • setDateFormatTo

        public void setDateFormatTo​(String dateFormatTo)