Package org.outerj.daisy.diff.html.dom
Class TextNode
- java.lang.Object
-
- org.outerj.daisy.diff.html.dom.Node
-
- org.outerj.daisy.diff.html.dom.TextNode
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ImageNode
,SeparatingNode
,WhiteSpaceNode
public class TextNode extends Node implements Cloneable
Represents a piece of text in the HTML file.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
copyTree()
Node
getLeftMostChild()
List<Node>
getMinimalDeletedSet(long id)
Modification
getModification()
Node
getRightMostChild()
String
getText()
boolean
isSameText(Object other)
void
setModification(Modification m)
String
toString()
-
Methods inherited from class org.outerj.daisy.diff.html.dom.Node
detectIgnorableWhiteSpace, getLastCommonParent, getParent, getParentTree, getRoot, inPre, isWhiteAfter, isWhiteBefore, setParent, setRoot, setWhiteAfter, setWhiteBefore
-
-
-
-
Method Detail
-
getLeftMostChild
public Node getLeftMostChild()
- Specified by:
getLeftMostChild
in classNode
-
getMinimalDeletedSet
public List<Node> getMinimalDeletedSet(long id)
- Specified by:
getMinimalDeletedSet
in classNode
-
getModification
public Modification getModification()
-
getRightMostChild
public Node getRightMostChild()
- Specified by:
getRightMostChild
in classNode
-
getText
public String getText()
-
isSameText
public boolean isSameText(Object other)
-
setModification
public void setModification(Modification m)
-
-