fr.whimtrip.ext.jwhthtmltopojo.DefaultHtmlAdapterFactory Maven / Gradle / Ivy
package fr.whimtrip.ext.jwhthtmltopojo;
import fr.whimtrip.ext.jwhthtmltopojo.adapter.DefaultHtmlAdapterImpl;
import fr.whimtrip.ext.jwhthtmltopojo.intrf.HtmlAdapter;
import fr.whimtrip.ext.jwhthtmltopojo.intrf.HtmlAdapterFactory;
/**
*
* Default implementation to provide a {@link DefaultHtmlAdapterImpl}
* factory for the default {@link HtmlToPojoEngine}.
*
* Part of project jwht-htmltopojo
*
* @author Louis-wht
* @since 1.0.0
*/
public class DefaultHtmlAdapterFactory implements HtmlAdapterFactory {
/**
* {@inheritDoc}
*/
@Override
public HtmlAdapter instanciateAdapter(HtmlToPojoEngine htmlToPojoEngine, Class tClass) {
return new DefaultHtmlAdapterImpl<>(htmlToPojoEngine, tClass);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy