org.xwiki.gwt.dom.client
Interface RangeFactory


public interface RangeFactory

Defines the interface used to create range objects.

Version:
$Id: 219ccd49f49c61cd3bc0439f057a48c716bc21e5 $

Field Summary
static RangeFactory INSTANCE
          We create the singleton instance using deferred binding in order to use different implementations for different browsers.
 
Method Summary
 Range createRange(Document doc)
           
 

Field Detail

INSTANCE

static final RangeFactory INSTANCE
We create the singleton instance using deferred binding in order to use different implementations for different browsers.

Method Detail

createRange

Range createRange(Document doc)
Parameters:
doc - The DOM document for which to create the range.
Returns:
A new range bound to the specified document.


Copyright © 2004-2013 XWiki. All Rights Reserved.