OpenOffice.org
XMerge API

org.openoffice.xmerge.merger.diff
Class RowIterator

java.lang.Object
  |
  +--org.openoffice.xmerge.merger.diff.NodeIterator
        |
        +--org.openoffice.xmerge.merger.diff.RowIterator
All Implemented Interfaces:
Iterator

public final class RowIterator
extends NodeIterator

This is an implementation of the Iterator interface and extends NodeIterator. It will traverse the tree and find row sequences.


Constructor Summary
RowIterator(ConverterCapabilities cc, org.w3c.dom.Node node)
          Standard constructor.
 
Method Summary
protected  boolean nodeSupported(org.w3c.dom.Node node)
          Overwrite the parent nodeSupported method.
 
Methods inherited from class org.openoffice.xmerge.merger.diff.NodeIterator
attributesEqual, childrenEqual, compareNode, currentElement, elementCount, end, equivalent, next, previous, refresh, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowIterator

public RowIterator(ConverterCapabilities cc,
                   org.w3c.dom.Node node)
Standard constructor.
Parameters:
cc - The ConverterCapabilities.
node - The initial root Node.
Method Detail

nodeSupported

protected boolean nodeSupported(org.w3c.dom.Node node)
Overwrite the parent nodeSupported method. Only row Node objects are supported.
Overrides:
nodeSupported in class NodeIterator
Parameters:
node - Node to check.
Returns:
true if the Node is supported, false otherwise.

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org