org.xhtmlrenderer.test
Class ElementReplacer

java.lang.Object
  extended by org.xhtmlrenderer.test.ElementReplacer
Direct Known Subclasses:
SwingImageReplacer

public abstract class ElementReplacer
extends Object

Author:
patrick

Constructor Summary
ElementReplacer()
           
 
Method Summary
abstract  boolean accept(LayoutContext context, Element element)
           
abstract  void clear(Element element)
           
abstract  String getElementNameMatch()
           
abstract  boolean isElementNameMatch()
           
abstract  ReplacedElement replace(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)
           
abstract  void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementReplacer

public ElementReplacer()
Method Detail

isElementNameMatch

public abstract boolean isElementNameMatch()

getElementNameMatch

public abstract String getElementNameMatch()

accept

public abstract boolean accept(LayoutContext context,
                               Element element)

replace

public abstract ReplacedElement replace(LayoutContext context,
                                        BlockBox box,
                                        UserAgentCallback uac,
                                        int cssWidth,
                                        int cssHeight)

clear

public abstract void clear(Element element)

reset

public abstract void reset()


Copyright © 2013. All Rights Reserved.