org.xwiki.gwt.dom.client
Interface RangeFactory


public interface RangeFactory

Defines the interface used to create range objects.

Version:
$Id: RangeFactory.java 20042 2009-05-16 12:12:50Z sdumitriu $

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-2010 XWiki. All Rights Reserved.