xpointer
Class RangeTo

java.lang.Object
  |
  +--xpointer.RangeTo

public class RangeTo
extends java.lang.Object


Constructor Summary
RangeTo()
          Creates new RangeTo
 
Method Summary
 org.w3c.dom.ranges.Range getRangeTo(Location contextLocation, Location location)
          Creates a range starting from the beginning of the context location to the end of the given location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeTo

public RangeTo()
Creates new RangeTo
Method Detail

getRangeTo

public org.w3c.dom.ranges.Range getRangeTo(Location contextLocation,
                                           Location location)
                                    throws javax.xml.transform.TransformerException
Creates a range starting from the beginning of the context location to the end of the given location. The start point of the the range is the start point of the context location and the end point of the range is the end point of the given location, which is evaluated with respect to the context location.
Parameters:
contextLocation - the context location
location - the given location
Returns:
a range starting from the beginning of the context location to the end of the given location.