< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom/CoreDocumentImpl.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
  */
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.

@@ -830,10 +830,11 @@
     /**
      * @deprecated This method is internal and only exists for
      * compatibility with older applications. New applications
      * should never call this method.
      */
+    @Deprecated
     public void setEncoding(String value) {
         setXmlEncoding(value);
     }
 
     /**

@@ -847,10 +848,11 @@
     /**
      * @deprecated This method is internal and only exists for
      * compatibility with older applications. New applications
      * should never call this method.
      */
+    @Deprecated
     public String getEncoding() {
         return getXmlEncoding();
     }
 
     /**

@@ -888,10 +890,11 @@
     /**
      * @deprecated This method is internal and only exists for
      * compatibility with older applications. New applications
      * should never call this method.
      */
+    @Deprecated
     public void setVersion(String value) {
         setXmlVersion(value);
     }
 
     /**

@@ -906,10 +909,11 @@
     /**
      * @deprecated This method is internal and only exists for
      * compatibility with older applications. New applications
      * should never call this method.
      */
+    @Deprecated
     public String getVersion() {
         return getXmlVersion();
     }
 
     /**

@@ -930,10 +934,11 @@
     /**
      * @deprecated This method is internal and only exists for
      * compatibility with older applications. New applications
      * should never call this method.
      */
+    @Deprecated
     public void setStandalone(boolean value) {
         setXmlStandalone(value);
     }
 
     /**

@@ -948,10 +953,11 @@
     /**
      * @deprecated This method is internal and only exists for
      * compatibility with older applications. New applications
      * should never call this method.
      */
+    @Deprecated
     public boolean getStandalone() {
         return getXmlStandalone();
     }
 
     /**
< prev index next >