Package org.xhtmlrenderer.test
Class SwingImageReplacer
java.lang.Object
org.xhtmlrenderer.test.ElementReplacer
org.xhtmlrenderer.test.SwingImageReplacer
- Author:
- patrick
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(LayoutContext context, Element element) void
boolean
replace
(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) void
reset()
-
Constructor Details
-
SwingImageReplacer
public SwingImageReplacer()
-
-
Method Details
-
isElementNameMatch
public boolean isElementNameMatch()- Specified by:
isElementNameMatch
in classElementReplacer
-
getElementNameMatch
- Specified by:
getElementNameMatch
in classElementReplacer
-
accept
- 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
- Specified by:
clear
in classElementReplacer
-
reset
public void reset()- Specified by:
reset
in classElementReplacer
-