Example usage for Java org.w3c.dom.ranges Range fields, constructors, methods, implement or subclass
The text is from its open source code.
DocumentFragment | cloneContents() Duplicates the contents of a Range |
Range | cloneRange() Produces a new Range whose boundary-points are equal to the boundary-points of the Range. |
void | deleteContents() Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content. |
void | detach() Called to indicate that the Range is no longer in use and that the implementation may relinquish any resources associated with this Range. |
Node | getEndContainer() Node within which the Range ends |
int | getEndOffset() Offset within the ending node of the Range. |
Node | getStartContainer() Node within which the Range begins |
int | getStartOffset() Offset within the starting node of the Range. |
void | setEndAfter(Node refNode) Sets the end of a Range to be after a node |
void | setStartBefore(Node refNode) Sets the start position to be before a node |