org.w3c.dom.ranges
3 classes of the module java.xml.
Load them with:
using {
"org.w3c.dom.ranges"
}
DocumentRange#
interface · org.w3c.dom.ranges.DocumentRange
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createRange | createRange() | Range createRange() |
Range#
interface · org.w3c.dom.ranges.Range
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
START_TO_START | short | constant · static | o.START_TO_START |
START_TO_END | short | constant · static | o.START_TO_END |
END_TO_END | short | constant · static | o.END_TO_END |
END_TO_START | short | constant · static | o.END_TO_START |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
cloneContents | cloneContents() | DocumentFragment cloneContents() |
cloneRange | cloneRange() | Range cloneRange() |
collapse | collapse(toStart) | void collapse(boolean toStart) |
compareBoundaryPoints | compareBoundaryPoints(how,sourceRange) | short compareBoundaryPoints(short how, Range sourceRange) |
deleteContents | deleteContents() | void deleteContents() |
detach | detach() | void detach() |
extractContents | extractContents() | DocumentFragment extractContents() |
getCollapsed | getCollapsed() | boolean getCollapsed() |
getCommonAncestorContainer | getCommonAncestorContainer() | Node getCommonAncestorContainer() |
getEndContainer | getEndContainer() | Node getEndContainer() |
getEndOffset | getEndOffset() | int getEndOffset() |
getStartContainer | getStartContainer() | Node getStartContainer() |
getStartOffset | getStartOffset() | int getStartOffset() |
insertNode | insertNode(newNode) | void insertNode(Node newNode) |
selectNode | selectNode(refNode) | void selectNode(Node refNode) |
selectNodeContents | selectNodeContents(refNode) | void selectNodeContents(Node refNode) |
setEnd | setEnd(refNode,offset) | void setEnd(Node refNode, int offset) |
setEndAfter | setEndAfter(refNode) | void setEndAfter(Node refNode) |
setEndBefore | setEndBefore(refNode) | void setEndBefore(Node refNode) |
setStart | setStart(refNode,offset) | void setStart(Node refNode, int offset) |
setStartAfter | setStartAfter(refNode) | void setStartAfter(Node refNode) |
setStartBefore | setStartBefore(refNode) | void setStartBefore(Node refNode) |
surroundContents | surroundContents(newParent) | void surroundContents(Node newParent) |
RangeException#
class · extends RuntimeException · org.w3c.dom.ranges.RangeException
Constructors
new RangeException(short code, String message) |
Ring: new RangeException(args) uses the constructor with the fewest parameters (at least one); new RangeException makes the object with the constructor without parameters; the others: (new RangeException).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
code | short | read, write | o.code o.code = v |
BAD_BOUNDARYPOINTS_ERR | short | constant · static | o.BAD_BOUNDARYPOINTS_ERR |
INVALID_NODE_TYPE_ERR | short | constant · static | o.INVALID_NODE_TYPE_ERR |
The methods and fields of RuntimeException are inherited.