
com.avides.xpath.utils.converters.NoneConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xpath-utils Show documentation
Show all versions of xpath-utils Show documentation
Provides some utility-methods to simplify the use of XPath
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