public class CssAppliersImpl extends Object implements CssAppliers
com.itextpdf.tool.xml.css.apply
.Constructor and Description |
---|
CssAppliersImpl() |
CssAppliersImpl(FontProvider fontProvider) |
Modifier and Type | Method and Description |
---|---|
Element |
apply(Element e,
Tag t,
HtmlPipelineContext ctx)
Convenience method.
|
Element |
apply(Element e,
Tag t,
MarginMemory mm,
PageSizeContainable psc,
HtmlPipelineContext ctx)
Given the element e, this method will lookup the right applier for the given Element.
|
CssAppliers |
clone() |
ChunkCssApplier |
getChunkCssAplier() |
protected CssAppliersImpl |
getClonedObject() |
CssApplier |
getCssApplier(Class<?> s) |
void |
putCssApplier(Class<?> s,
CssApplier c) |
void |
setChunkCssAplier(ChunkCssApplier chunkCssAplier) |
public CssAppliersImpl()
public CssAppliersImpl(FontProvider fontProvider)
public void putCssApplier(Class<?> s, CssApplier c)
public CssApplier getCssApplier(Class<?> s)
public Element apply(Element e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)
CssAppliers
apply
in interface CssAppliers
e
- the Elementt
- the tagmm
- the MarginMemorypsc
- the PageSize
containerctx
- an HtmlPipelineContextpublic Element apply(Element e, Tag t, HtmlPipelineContext ctx)
CssAppliers
apply
in interface CssAppliers
e
- the Elementt
- the tagctx
- the Context objectCssAppliers.apply(Element, Tag, MarginMemory, PageSizeContainable, HtmlPipelineContext)
public ChunkCssApplier getChunkCssAplier()
getChunkCssAplier
in interface CssAppliers
public void setChunkCssAplier(ChunkCssApplier chunkCssAplier)
setChunkCssAplier
in interface CssAppliers
public CssAppliers clone()
clone
in interface CssAppliers
clone
in class Object
protected CssAppliersImpl getClonedObject()
Copyright © 2017. All rights reserved.