com.openhtmltopdf.extend.FSObjectDrawerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openhtmltopdf-core Show documentation
Show all versions of openhtmltopdf-core Show documentation
Open HTML to PDF is a CSS 2.1 renderer written in Java. This artifact contains the core rendering and layout code.
The newest version!
package com.openhtmltopdf.extend;
import org.w3c.dom.Element;
/**
* Factory for ObjectDrawers, i.e. classes which draw <object> tags
*/
public interface FSObjectDrawerFactory {
/**
* Determine an object drawer for the given object tag element.
*/
FSObjectDrawer createDrawer(Element e);
/**
* @param e eleemnt with tag name of object
.
* @return true if this object drawer can handle this element.
*/
public boolean isReplacedObject(Element e);
}