sk.uniba.euromath.document
Class NodeListID.NodePtr

java.lang.Object
  extended by sk.uniba.euromath.document.NodeListID.NodePtr
Enclosing class:
NodeListID

public final class NodeListID.NodePtr
extends Object

Points into contents of text/cdata/comment/pi node.

Author:
Martin Vysny

Field Summary
 int index
          Index of the node in context of enclosing node list.
 Node node
          The node instance.
 int pos
          Character index, in context of the node.
 
Method Summary
 boolean pointsIntoNode()
          Determines if this pointer points into the node.
 DomPointer toDomPointer()
          Converts itself into the DOM pointer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

public final Node node
The node instance.


index

public final int index
Index of the node in context of enclosing node list.


pos

public final int pos
Character index, in context of the node.

Method Detail

pointsIntoNode

public boolean pointsIntoNode()
Determines if this pointer points into the node.

Returns:
false if it points to position 0 or at the end of node data.

toDomPointer

public DomPointer toDomPointer()
Converts itself into the DOM pointer.

Returns:
the DOM pointer instance.


Copyright 2003-2003-2006 null. All Rights Reserved.