LibreOffice Module xmerge (master)  1
Public Member Functions | Protected Member Functions | List of all members
org.openoffice.xmerge.merger.diff.TextNodeIterator Class Reference

This is an implementation of the. More...

Inheritance diagram for org.openoffice.xmerge.merger.diff.TextNodeIterator:
Collaboration diagram for org.openoffice.xmerge.merger.diff.TextNodeIterator:

Public Member Functions

 TextNodeIterator (Node node)
 Standard constructor. More...
- Public Member Functions inherited from org.openoffice.xmerge.merger.diff.NodeIterator
 NodeIterator (ConverterCapabilities cc, Node node)
 Standard constructor. More...
Object next ()
 Move to next element in the sequence. More...
Object previous ()
Object start ()
 Move to the beginning of the sequence. More...
Object end ()
Object currentElement ()
 Return the current element. More...
int elementCount ()
 Return the total element count in the sequence. More...
boolean equivalent (Object obj1, Object obj2)
 A method to allow the difference algorithm to test whether the. More...
void refresh ()
 A method to force the. More...

Protected Member Functions

boolean nodeSupported (Node node)
 Overwrite the parent. More...
- Protected Member Functions inherited from org.openoffice.xmerge.merger.diff.NodeIterator
boolean compareNode (Node node1, Node node2)
 Used to compare two. More...
boolean childrenEqual (Node node1, Node node2)
 Compare the children of two. More...
abstract boolean nodeSupported (Node node)
 Check whether a. More...

Detailed Description

This is an implementation of the.



It will traverse the tree and find text/space/tab


Note: Once the XML Tree is parsed, then the


will be a snapshot of that tree. That means even the tree is modified later, then the cached paragraph

list will not be updated accordingly. For this reason and for performance reasons this


does not support any operation methods such as insert, remove or replace. The main purpose of this


is to be used with difference, not with merge.

Definition at line 38 of file

Constructor & Destructor Documentation

org.openoffice.xmerge.merger.diff.TextNodeIterator.TextNodeIterator ( Node  node)

Standard constructor.

nodeThe initial root .

Definition at line 45 of file

Member Function Documentation

boolean org.openoffice.xmerge.merger.diff.TextNodeIterator.nodeSupported ( Node  node)

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