All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avides.xpath.utils.converters.NoneConverter Maven / Gradle / Ivy

The newest version!
package com.avides.xpath.utils.converters;

import java.util.function.Function;

/**
 * A converter ({@link java.util.function.Function Function}) that simply does
 * nothing, but is used as default for annotations
 * {@link com.avides.xpath.utils.annotations.XPathFirst XPathFirst},
 * {@link com.avides.xpath.utils.annotations.XPathList XPathList} and
 * {@link com.avides.xpath.utils.annotations.XPathMap XPathMap}
 *
 * @author Martin Schumacher
 * @since 1.0.0.RELEASE
 */
public class NoneConverter implements Function
{
    @Override
    public String apply(String t)
    {
        return t;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy