TextNode Class Reference
[DifferenceEngine]

Represents a piece of text in the HTML file. More...

Inherits Node.

Inherited by ImageNode, and WhiteSpaceNode.

List of all members.

Public Member Functions

 __construct ($parent, $text)
 copyTree ()
 getLeftMostChild ()
 getRightMostChild ()
 getMinimalDeletedSet ($id, &$allDeleted, &$somethingDeleted)
 isSameText ($other)

Static Public Member Functions

static toDiffLine (TextNode $node)

Public Attributes

 $text
 $modification


Detailed Description

Represents a piece of text in the HTML file.

Definition at line 305 of file Nodes.php.


Constructor & Destructor Documentation

TextNode::__construct ( parent,
text 
)

Definition at line 311 of file Nodes.php.

References Node::$parent, $text, and Modification::NONE.


Member Function Documentation

TextNode::copyTree (  ) 

Definition at line 317 of file Nodes.php.

TextNode::getLeftMostChild (  ) 

Definition at line 323 of file Nodes.php.

TextNode::getMinimalDeletedSet ( id,
&$  allDeleted,
&$  somethingDeleted 
)

Definition at line 331 of file Nodes.php.

References Modification::REMOVED.

TextNode::getRightMostChild (  ) 

Definition at line 327 of file Nodes.php.

TextNode::isSameText ( other  ) 

Reimplemented in ImageNode.

Definition at line 341 of file Nodes.php.

static TextNode::toDiffLine ( TextNode node  )  [static]

Definition at line 348 of file Nodes.php.


Member Data Documentation

TextNode::$modification

Definition at line 309 of file Nodes.php.

TextNode::$text

Definition at line 307 of file Nodes.php.

Referenced by __construct().


The documentation for this class was generated from the following file:

Generated on Sat Sep 5 02:08:48 2009 for MediaWiki by  doxygen 1.5.9