You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2004/08/17 21:37:44 UTC

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

mrglavas    2004/08/17 12:37:44

  Modified:    java/src/org/apache/xerces/dom CoreDocumentImpl.java
  Log:
  Adding back some methods which were renamed between
  DOM Level 3 drafts for compatibility with older applications
  which were early adopters of this API.
  
  Revision  Changes    Path
  1.76      +55 -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.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- CoreDocumentImpl.java	12 Jul 2004 21:43:41 -0000	1.75
  +++ CoreDocumentImpl.java	17 Aug 2004 19:37:44 -0000	1.76
  @@ -797,6 +797,15 @@
       public void setXmlEncoding(String value) {
           encoding = value;
       }
  +    
  +    /**
  +     * @deprecated This method is internal and only exists for
  +     * compatibility with older applications. New applications
  +     * should never call this method.
  +     */
  +    public void setEncoding(String value) {
  +        setXmlEncoding(value);
  +    }
   
       /**
        * DOM Level 3 WD - Experimental.
  @@ -805,6 +814,15 @@
       public String getXmlEncoding() {
           return encoding;
       }
  +    
  +    /**
  +     * @deprecated This method is internal and only exists for
  +     * compatibility with older applications. New applications
  +     * should never call this method.
  +     */
  +    public String getEncoding() {
  +        return getXmlEncoding();
  +    }
   
       /**
        * DOM Level 3 CR - Experimental.
  @@ -837,6 +855,15 @@
               xml11Version = false;
           }
       }
  +    
  +    /**
  +     * @deprecated This method is internal and only exists for
  +     * compatibility with older applications. New applications
  +     * should never call this method.
  +     */
  +    public void setVersion(String value) {
  +        setXmlVersion(value);
  +    }
   
       /**
        * DOM Level 3 WD - Experimental.
  @@ -845,6 +872,15 @@
       public String getXmlVersion() {
           return (version == null)?"1.0":version;
       }
  +    
  +    /**
  +     * @deprecated This method is internal and only exists for
  +     * compatibility with older applications. New applications
  +     * should never call this method.
  +     */
  +    public String getVersion() {
  +        return getXmlVersion();
  +    }
   
       /**
        * DOM Level 3 CR - Experimental.
  @@ -860,6 +896,15 @@
                                     throws DOMException {
               standalone = value;
       }
  +    
  +    /**
  +     * @deprecated This method is internal and only exists for
  +     * compatibility with older applications. New applications
  +     * should never call this method.
  +     */
  +    public void setStandalone(boolean value) {
  +        setXmlStandalone(value);
  +    }
   
       /**
        * DOM Level 3 WD - Experimental.
  @@ -869,7 +914,15 @@
       public boolean getXmlStandalone() {
           return standalone;
       }
  -
  +    
  +    /**
  +     * @deprecated This method is internal and only exists for
  +     * compatibility with older applications. New applications
  +     * should never call this method.
  +     */
  +    public boolean getStandalone() {
  +        return getXmlStandalone();
  +    }
   
       /**
        * DOM Level 3 WD - Experimental.
  
  
  

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