// Generated by esidl 0.4.0.
package org.w3c.dom.ranges;
import org.w3c.dom.DOMException;
import org.w3c.dom.DocumentFragment;
import org.w3c.dom.Node;
import org.w3c.dom.views.ClientRect;
import org.w3c.dom.views.ClientRectList;
public interface Range
{
// Range
public Node getStartContainer() throws DOMException;
public int getStartOffset() throws DOMException;
public Node getEndContainer() throws DOMException;
public int getEndOffset() throws DOMException;
public boolean getCollapsed() throws DOMException;
public Node getCommonAncestorContainer() throws DOMException;
public void setStart(Node refNode, int offset) throws RangeException, DOMException;
public void setEnd(Node refNode, int offset) throws RangeException, DOMException;
public void setStartBefore(Node refNode) throws RangeException, DOMException;
public void setStartAfter(Node refNode) throws RangeException, DOMException;
public void setEndBefore(Node refNode) throws RangeException, DOMException;
public void setEndAfter(Node refNode) throws RangeException, DOMException;
public void collapse(boolean toStart) throws DOMException;
public void selectNode(Node refNode) throws RangeException, DOMException;
public void selectNodeContents(Node refNode) throws RangeException, DOMException;
public static final short START_TO_START = 0;
public static final short START_TO_END = 1;
public static final short END_TO_END = 2;
public static final short END_TO_START = 3;
public short compareBoundaryPoints(short how, Range sourceRange) throws DOMException;
public void deleteContents() throws DOMException;
public DocumentFragment extractContents() throws DOMException;
public DocumentFragment cloneContents() throws DOMException;
public void insertNode(Node newNode) throws DOMException, RangeException;
public void surroundContents(Node newParent) throws DOMException, RangeException;
public Range cloneRange() throws DOMException;
public String toString() throws DOMException;
public void detach() throws DOMException;
// Range-39
public ClientRectList getClientRects();
public ClientRect getBoundingClientRect();
}