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

fr.whimtrip.ext.jwhthtmltopojo.intrf.HtmlAdapterFactory Maven / Gradle / Ivy

Go to download

Fully featured highly pluggable and customizable Java html to pojo reflection converter

There is a newer version: 1.0.2
Show newest version
package fr.whimtrip.ext.jwhthtmltopojo.intrf;

import fr.whimtrip.ext.jwhthtmltopojo.DefaultHtmlAdapterFactory;
import fr.whimtrip.ext.jwhthtmltopojo.HtmlToPojoEngine;
import fr.whimtrip.ext.jwhthtmltopojo.adapter.AbstractHtmlFieldImpl;

/**
 *
 * 

* An Html Adapter Factory can help creating custom * {@link HtmlAdapter} to plug them instead of the default * implementation provided here {@link AbstractHtmlFieldImpl} * by the default factory {@link DefaultHtmlAdapterFactory}. *

* *

* It can be fetch when creating your {@link HtmlToPojoEngine} * with method {@link HtmlToPojoEngine#create(HtmlAdapterFactory)}. *

* * Part of project jwht-htmltopojo * * @author Louis-wht * @since 1.0.0 * */ public interface HtmlAdapterFactory{ /** * @param htmlToPojoEngine the engine that required the creation of * a new adapter. * @param tClass the class for which the adapter shall be created. * @param the type T of the class to create an {@link HtmlAdapter} * for. * @return instanciated HtmlAdater for the submitted {@code tClass}. */ HtmlAdapter instanciateAdapter(HtmlToPojoEngine htmlToPojoEngine, Class tClass); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy