com.dotmarketing.util.diff.html.dom
Class ImageNode

java.lang.Object
  extended by com.dotmarketing.util.diff.html.dom.Node
      extended by com.dotmarketing.util.diff.html.dom.TextNode
          extended by com.dotmarketing.util.diff.html.dom.ImageNode
All Implemented Interfaces:
java.lang.Cloneable

public class ImageNode
extends TextNode

Represents an image in HTML. Even though images do not contain any text they are single visible objects on the page. They are logically a TextNode.


Field Summary
 
Fields inherited from class com.dotmarketing.util.diff.html.dom.Node
parent
 
Constructor Summary
ImageNode(TagNode parent, org.xml.sax.Attributes attrs)
           
 
Method Summary
 org.xml.sax.helpers.AttributesImpl getAttributes()
           
 boolean isSameText(java.lang.Object other)
           
 
Methods inherited from class com.dotmarketing.util.diff.html.dom.TextNode
copyTree, getLeftMostChild, getMinimalDeletedSet, getModification, getRightMostChild, getText, setModification, toString
 
Methods inherited from class com.dotmarketing.util.diff.html.dom.Node
detectIgnorableWhiteSpace, getLastCommonParent, getParent, getParentTree, getRoot, inPre, isWhiteAfter, isWhiteBefore, setParent, setWhiteAfter, setWhiteBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageNode

public ImageNode(TagNode parent,
                 org.xml.sax.Attributes attrs)
Method Detail

isSameText

public boolean isSameText(java.lang.Object other)
Overrides:
isSameText in class TextNode

getAttributes

public org.xml.sax.helpers.AttributesImpl getAttributes()


Copyright © 2013 dotCMS Inc. All Rights Reserved.