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 boolean
accept(LayoutContext context, org.w3c.dom.Element element)
void
clear(org.w3c.dom.Element element)
java.lang.String
getElementNameMatch()
boolean
isElementNameMatch()
ReplacedElement
replace(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)
void
reset()
-
-
-
Method Detail
-
isElementNameMatch
public boolean isElementNameMatch()
- Specified by:
isElementNameMatch
in classElementReplacer
-
getElementNameMatch
public java.lang.String getElementNameMatch()
- Specified by:
getElementNameMatch
in classElementReplacer
-
accept
public boolean accept(LayoutContext context, org.w3c.dom.Element element)
- Specified by:
accept
in classElementReplacer
-
replace
public ReplacedElement replace(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)
- Specified by:
replace
in classElementReplacer
-
clear
public void clear(org.w3c.dom.Element element)
- Specified by:
clear
in classElementReplacer
-
reset
public void reset()
- Specified by:
reset
in classElementReplacer
-
-