sk.baka.ikslibs.ptr
Class DOMPoint

java.lang.Object
  extended by sk.baka.ikslibs.ptr.DOMPoint
All Implemented Interfaces:
Comparable

public final class DOMPoint
extends Object
implements Comparable

A lightweight pointer. It does not even contain the parent node. Defines a point in some arbitrary node. The point is specified by nodeIndex and pos parameters. If nodeIndex denotes Element, the pointer points before this Element. In this case, the pos argument is ignored and should be set to zero. If nodeIndex denotes CharacterData, then pos specifies the index of a character, where the pointer points. Immutable, thread-safe.

The comparator employs these additional document order rules on the namespace and attribute nodes of each element: