public class SwingImageReplacer extends ElementReplacer
Constructor and Description |
---|
SwingImageReplacer() |
Modifier and Type | Method and 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() |
public boolean isElementNameMatch()
isElementNameMatch
in class ElementReplacer
public java.lang.String getElementNameMatch()
getElementNameMatch
in class ElementReplacer
public boolean accept(LayoutContext context, org.w3c.dom.Element element)
accept
in class ElementReplacer
public ReplacedElement replace(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)
replace
in class ElementReplacer
public void clear(org.w3c.dom.Element element)
clear
in class ElementReplacer
public void reset()
reset
in class ElementReplacer