You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2002/04/24 21:26:37 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/dom CoreDocumentImpl.java

elena       02/04/24 12:26:37

  Modified:    java/src/org/apache/xerces/dom CoreDocumentImpl.java
  Log:
  add documentURI
  
  Revision  Changes    Path
  1.14      +26 -2     xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java
  
  Index: CoreDocumentImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- CoreDocumentImpl.java	6 Mar 2002 23:02:36 -0000	1.13
  +++ CoreDocumentImpl.java	24 Apr 2002 19:26:36 -0000	1.14
  @@ -109,7 +109,7 @@
    * @author Joe Kesselman, IBM
    * @author Andy Clark, IBM
    * @author Ralf Pfeiffer, IBM
  - * @version $Id: CoreDocumentImpl.java,v 1.13 2002/03/06 23:02:36 lmartin Exp $
  + * @version $Id: CoreDocumentImpl.java,v 1.14 2002/04/24 19:26:36 elena Exp $
    * @since  PR-DOM-Level-1-19980818.
    */
   public class CoreDocumentImpl
  @@ -140,7 +140,7 @@
       /**Experimental DOM Level 3 feature: Document encoding */
       protected String encoding;
   
  -    /**Experimental DOM Level 3 feature: Document encoding */
  +    /**Experimental DOM Level 3 feature: Document actualEncoding */
       protected String actualEncoding;
   
       /**Experimental DOM Level 3 feature: Document version */
  @@ -149,6 +149,9 @@
       /**Experimental DOM Level 3 feature: Document standalone */
       protected boolean standalone;
   
  +    /**Experimental DOM Level 3 feature: documentURI */
  +    protected String fDocumentURI;
  +
       /** Table for user data attached to this document nodes. */
       protected Hashtable userData;
   
  @@ -780,6 +783,27 @@
        */
       public boolean getStandalone() {
           return standalone;
  +    }
  +
  +
  +    /**
  +     * DOM Level 3 WD - Experimental.
  +     * The location of the document or <code>null</code> if undefined.
  +     * <br>Beware that when the <code>Document</code> supports the feature 
  +     * "HTML" , the href attribute of the HTML BASE element takes precedence 
  +     * over this attribute.
  +     * @since DOM Level 3
  +     */
  +    public String getDocumentURI(){
  +        return fDocumentURI;
  +    }
  +
  +    
  +    /**
  +     * DOM Level 3 WD - Experimental.
  +     */
  +    public void setDocumentURI(String documentURI){
  +        fDocumentURI = documentURI;
       }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org