Class NodeOffset

java.lang.Object
  |
  +--NodeOffset

public class NodeOffset
extends java.lang.Object

A NodeOffset correlates a DOM node and Amalgamation with a start offset in a string of text.

Version:
$2007-02-07 15:47:47 mdh$
Author:
Malcolm D. Hyman

Constructor Summary
NodeOffset(int offset, org.w3c.dom.Node node, Amalgamation amalg, int addOfs)
           
 
Method Summary
 int getAddOfs()
           
 Amalgamation getAmalgamation()
           
 org.w3c.dom.Node getNode()
           
 int getOffset()
           
 void setNode(org.w3c.dom.Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeOffset

public NodeOffset(int offset,
                  org.w3c.dom.Node node,
                  Amalgamation amalg,
                  int addOfs)
Method Detail

getOffset

public int getOffset()

getNode

public org.w3c.dom.Node getNode()

getAmalgamation

public Amalgamation getAmalgamation()

getAddOfs

public int getAddOfs()

setNode

public void setNode(org.w3c.dom.Node node)