< prev index next >

jaxp/src/java.xml/share/classes/org/w3c/dom/ranges/DocumentRange.java

Print this page




  26  * This file is available under and governed by the GNU General Public
  27  * License version 2 only, as published by the Free Software Foundation.
  28  * However, the following notice accompanied the original version of this
  29  * file and, per its terms, should not be removed:
  30  *
  31  * Copyright (c) 2000 World Wide Web Consortium,
  32  * (Massachusetts Institute of Technology, Institut National de
  33  * Recherche en Informatique et en Automatique, Keio University). All
  34  * Rights Reserved. This program is distributed under the W3C's Software
  35  * Intellectual Property License. This program is distributed in the
  36  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
  37  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  38  * PURPOSE.
  39  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
  40  */
  41 
  42 package org.w3c.dom.ranges;
  43 
  44 /**
  45  * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
  46  * @since 1.9, DOM Level 2
  47  */
  48 public interface DocumentRange {
  49     /**
  50      * This interface can be obtained from the object implementing the
  51      * <code>Document</code> interface using binding-specific casting
  52      * methods.
  53      * @return The initial state of the Range returned from this method is
  54      *   such that both of its boundary-points are positioned at the
  55      *   beginning of the corresponding Document, before any content. The
  56      *   Range returned can only be used to select content associated with
  57      *   this Document, or with DocumentFragments and Attrs for which this
  58      *   Document is the <code>ownerDocument</code>.
  59      */
  60     public Range createRange();
  61 
  62 }


  26  * This file is available under and governed by the GNU General Public
  27  * License version 2 only, as published by the Free Software Foundation.
  28  * However, the following notice accompanied the original version of this
  29  * file and, per its terms, should not be removed:
  30  *
  31  * Copyright (c) 2000 World Wide Web Consortium,
  32  * (Massachusetts Institute of Technology, Institut National de
  33  * Recherche en Informatique et en Automatique, Keio University). All
  34  * Rights Reserved. This program is distributed under the W3C's Software
  35  * Intellectual Property License. This program is distributed in the
  36  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
  37  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  38  * PURPOSE.
  39  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
  40  */
  41 
  42 package org.w3c.dom.ranges;
  43 
  44 /**
  45  * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
  46  * @since 9, DOM Level 2
  47  */
  48 public interface DocumentRange {
  49     /**
  50      * This interface can be obtained from the object implementing the
  51      * <code>Document</code> interface using binding-specific casting
  52      * methods.
  53      * @return The initial state of the Range returned from this method is
  54      *   such that both of its boundary-points are positioned at the
  55      *   beginning of the corresponding Document, before any content. The
  56      *   Range returned can only be used to select content associated with
  57      *   this Document, or with DocumentFragments and Attrs for which this
  58      *   Document is the <code>ownerDocument</code>.
  59      */
  60     public Range createRange();
  61 
  62 }
< prev index next >