LibreOffice Module xmerge (master) 1
|
This is an implementation of the Iterator
interface and extends NodeIterator
.
More...
Public Member Functions | |
RowIterator (ConverterCapabilities cc, 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 Object content. 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 obj1 and obj2 in the Iterator are considered equal. More... | |
void | refresh () |
A method to force the Iterator to traverse the tree again to refresh the content. More... | |
Object | next () |
Move to next element in the sequence. More... | |
Object | start () |
Move to the beginning of the sequence. More... | |
Object | currentElement () |
Return the current element Object content. 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 obj1 and obj2 in the Iterator are considered equal. More... | |
void | refresh () |
A method to force the Iterator to traverse the tree again to refresh the content. More... | |
Protected Member Functions | |
boolean | nodeSupported (Node node) |
Overwrite the parent nodeSupported method. More... | |
Protected Member Functions inherited from org.openoffice.xmerge.merger.diff.NodeIterator | |
boolean | compareNode (Node node1, Node node2) |
Used to compare two Node objects (type/name/value) and all their children Node objects. More... | |
boolean | childrenEqual (Node node1, Node node2) |
Compare the children of two Node objects. More... | |
abstract boolean | nodeSupported (Node node) |
Check whether a Node is supported. More... | |
This is an implementation of the Iterator
interface and extends NodeIterator
.
It will traverse the tree and find row sequences.
Definition at line 32 of file RowIterator.java.
|
inline |
Standard constructor.
cc | The ConverterCapabilities . |
node | The initial root Node . |
Definition at line 44 of file RowIterator.java.
|
inlineprotected |
Overwrite the parent nodeSupported
method.
Only row Node
objects are supported.
node | Node to check. |
true
if the Node
is supported, false
otherwise. Reimplemented from org.openoffice.xmerge.merger.diff.NodeIterator.
Definition at line 59 of file RowIterator.java.
References org.openoffice.xmerge.converter.xml.OfficeConstants.TAG_TABLE_ROW.