Package org.xhtmlrenderer.test
Class SwingImageReplacer
- java.lang.Object
-
- org.xhtmlrenderer.test.ElementReplacer
-
- org.xhtmlrenderer.test.SwingImageReplacer
-
public class SwingImageReplacer extends ElementReplacer
- Author:
- patrick
-
-
Constructor Summary
Constructors Constructor Description SwingImageReplacer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(LayoutContext context, org.w3c.dom.Element element)voidclear(org.w3c.dom.Element element)java.lang.StringgetElementNameMatch()booleanisElementNameMatch()ReplacedElementreplace(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)voidreset()
-
-
-
Method Detail
-
isElementNameMatch
public boolean isElementNameMatch()
- Specified by:
isElementNameMatchin classElementReplacer
-
getElementNameMatch
public java.lang.String getElementNameMatch()
- Specified by:
getElementNameMatchin classElementReplacer
-
accept
public boolean accept(LayoutContext context, org.w3c.dom.Element element)
- Specified by:
acceptin classElementReplacer
-
replace
public ReplacedElement replace(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)
- Specified by:
replacein classElementReplacer
-
clear
public void clear(org.w3c.dom.Element element)
- Specified by:
clearin classElementReplacer
-
reset
public void reset()
- Specified by:
resetin classElementReplacer
-
-