OpenOffice.org
XMerge API

org.openoffice.xmerge.merger.diff
Class TextNodeEntry

java.lang.Object
  |
  +--org.openoffice.xmerge.merger.diff.TextNodeEntry

public class TextNodeEntry
extends java.lang.Object

A small class to hold the start/end character position and the Node pointer in a text Node. It is mainly used for character parser to make a list of text Node cache entries.


Constructor Summary
TextNodeEntry(int startChar, int endChar, org.w3c.dom.Node node)
          Constructor
 
Method Summary
 int endChar()
          Returns the end character.
 org.w3c.dom.Node node()
          Returns the Node.
 int startChar()
          Returns the start character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextNodeEntry

public TextNodeEntry(int startChar,
                     int endChar,
                     org.w3c.dom.Node node)
Constructor
Parameters:
startChar - The start character position.
endChar - The end character position.
node - The text Node.
Method Detail

endChar

public int endChar()
Returns the end character.
Returns:
The end character.

node

public org.w3c.dom.Node node()
Returns the Node.
Returns:
The Node.

startChar

public int startChar()
Returns the start character.
Returns:
The start character.

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org