BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.apache.xerces.dom
Class RangeImpl

java.lang.Object
  extended byweblogic.apache.xerces.dom.RangeImpl
All Implemented Interfaces:
Range

Deprecated. please use JDK supplied XML parsers and transformers

public class RangeImpl
extends Object
implements Range

The RangeImpl class implements the org.w3c.dom.range.Range interface.

Please see the API documentation for the interface classes and use the interfaces in your client programs.


Field Summary
 
Fields inherited from interface org.w3c.dom.ranges.Range
END_TO_END, END_TO_START, START_TO_END, START_TO_START
 
Constructor Summary
RangeImpl(DocumentImpl document)
          Deprecated. The constructor.
 
Method Summary
 DocumentFragment cloneContents()
          Deprecated.  
 Range cloneRange()
          Deprecated.  
 void collapse(boolean toStart)
          Deprecated.  
 short compareBoundaryPoints(short how, Range sourceRange)
          Deprecated.  
 void deleteContents()
          Deprecated.  
 void detach()
          Deprecated.  
 DocumentFragment extractContents()
          Deprecated.  
 boolean getCollapsed()
          Deprecated.  
 Node getCommonAncestorContainer()
          Deprecated.  
 Node getEndContainer()
          Deprecated.  
 int getEndOffset()
          Deprecated.  
 Node getStartContainer()
          Deprecated.  
 int getStartOffset()
          Deprecated.  
 void insertedNodeFromDOM(Node node)
          Deprecated. This function is called from the DOM.
 void insertNode(Node newNode)
          Deprecated.  
 void selectNode(Node refNode)
          Deprecated.  
 void selectNodeContents(Node refNode)
          Deprecated.  
 void setEnd(Node refNode, int offset)
          Deprecated.  
 void setEndAfter(Node refNode)
          Deprecated.  
 void setEndBefore(Node refNode)
          Deprecated.  
 void setStart(Node refNode, int offset)
          Deprecated.  
 void setStartAfter(Node refNode)
          Deprecated.  
 void setStartBefore(Node refNode)
          Deprecated.  
 void surroundContents(Node newParent)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RangeImpl

public RangeImpl(DocumentImpl document)
Deprecated. 
The constructor. Clients must use DocumentRange.createRange(), because it registers the Range with the document, so it can be fixed-up.

Method Detail

cloneContents

public DocumentFragment cloneContents()
                               throws DOMException
Deprecated. 
Specified by:
cloneContents in interface Range
Throws:
DOMException

cloneRange

public Range cloneRange()
Deprecated. 
Specified by:
cloneRange in interface Range

collapse

public void collapse(boolean toStart)
Deprecated. 
Specified by:
collapse in interface Range

compareBoundaryPoints

public short compareBoundaryPoints(short how,
                                   Range sourceRange)
                            throws DOMException
Deprecated. 
Specified by:
compareBoundaryPoints in interface Range
Throws:
DOMException

deleteContents

public void deleteContents()
                    throws DOMException
Deprecated. 
Specified by:
deleteContents in interface Range
Throws:
DOMException

detach

public void detach()
Deprecated. 
Specified by:
detach in interface Range

extractContents

public DocumentFragment extractContents()
                                 throws DOMException
Deprecated. 
Specified by:
extractContents in interface Range
Throws:
DOMException

getCollapsed

public boolean getCollapsed()
Deprecated. 
Specified by:
getCollapsed in interface Range

getCommonAncestorContainer

public Node getCommonAncestorContainer()
Deprecated. 
Specified by:
getCommonAncestorContainer in interface Range

getEndContainer

public Node getEndContainer()
Deprecated. 
Specified by:
getEndContainer in interface Range

getEndOffset

public int getEndOffset()
Deprecated. 
Specified by:
getEndOffset in interface Range

getStartContainer

public Node getStartContainer()
Deprecated. 
Specified by:
getStartContainer in interface Range

getStartOffset

public int getStartOffset()
Deprecated. 
Specified by:
getStartOffset in interface Range

insertedNodeFromDOM

public void insertedNodeFromDOM(Node node)
Deprecated. 
This function is called from the DOM. This node has already been inserted into the DOM. Fix-up any offsets.


insertNode

public void insertNode(Node newNode)
                throws DOMException,
                       RangeException
Deprecated. 
Specified by:
insertNode in interface Range
Throws:
DOMException
RangeException

selectNode

public void selectNode(Node refNode)
                throws RangeException
Deprecated. 
Specified by:
selectNode in interface Range
Throws:
RangeException

selectNodeContents

public void selectNodeContents(Node refNode)
                        throws RangeException
Deprecated. 
Specified by:
selectNodeContents in interface Range
Throws:
RangeException

setEnd

public void setEnd(Node refNode,
                   int offset)
            throws RangeException,
                   DOMException
Deprecated. 
Specified by:
setEnd in interface Range
Throws:
RangeException
DOMException

setEndAfter

public void setEndAfter(Node refNode)
                 throws RangeException
Deprecated. 
Specified by:
setEndAfter in interface Range
Throws:
RangeException

setEndBefore

public void setEndBefore(Node refNode)
                  throws RangeException
Deprecated. 
Specified by:
setEndBefore in interface Range
Throws:
RangeException

setStart

public void setStart(Node refNode,
                     int offset)
              throws RangeException,
                     DOMException
Deprecated. 
Specified by:
setStart in interface Range
Throws:
RangeException
DOMException

setStartAfter

public void setStartAfter(Node refNode)
                   throws RangeException
Deprecated. 
Specified by:
setStartAfter in interface Range
Throws:
RangeException

setStartBefore

public void setStartBefore(Node refNode)
                    throws RangeException
Deprecated. 
Specified by:
setStartBefore in interface Range
Throws:
RangeException

surroundContents

public void surroundContents(Node newParent)
                      throws DOMException,
                             RangeException
Deprecated. 
Specified by:
surroundContents in interface Range
Throws:
DOMException
RangeException

toString

public String toString()
Deprecated. 
Specified by:
toString in interface Range

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.