public class AbstractRange extends HtmlUnitScriptable
org.htmlunit.corejs.javascript.ScriptableObject.DescriptorInfo, org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator, org.htmlunit.corejs.javascript.ScriptableObject.LambdaGetterFunction, org.htmlunit.corejs.javascript.ScriptableObject.LambdaSetterFunctionCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Modifier | Constructor and Description |
|---|---|
|
AbstractRange()
Creates an instance.
|
protected |
AbstractRange(Node startContainer,
Node endContainer,
int startOffset,
int endOffset)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
equivalentValues(Object value) |
Object |
getDefaultValue(Class<?> hint)
Returns the JavaScript default value of this object.
|
Object |
getEndContainer()
Gets the node within which the Range ends.
|
int |
getEndOffset()
Gets the offset within the end node of the Range.
|
SimpleRange |
getSimpleRange() |
Object |
getStartContainer()
Gets the node within which the Range begins.
|
int |
getStartOffset()
Gets the offset within the starting node of the Range.
|
protected Node |
internGetEndContainer() |
protected int |
internGetEndOffset() |
protected Node |
internGetStartContainer() |
protected int |
internGetStartOffset() |
protected void |
internSetEndContainer(Node endContainer)
Sets the end container. |