< prev index next >

src/java.xml/share/classes/javax/xml/stream/events/StartDocument.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -44,24 +44,26 @@
    * @return the character encoding, defaults to "UTF-8"
    */
   public String getCharacterEncodingScheme();
 
   /**
-   * Returns true if CharacterEncodingScheme was set in
+   * Returns true if CharacterEncodingScheme is set in
    * the encoding declaration of the document
+   * @return true if {@code CharacterEncodingScheme} is set, false otherwise
    */
   public boolean encodingSet();
 
   /**
    * Returns if this XML is standalone
    * @return the standalone state of XML, defaults to "no"
    */
   public boolean isStandalone();
 
   /**
-   * Returns true if the standalone attribute was set in
+   * Returns true if the standalone attribute is set in
    * the encoding declaration of the document.
+   * @return true if the standalone attribute is set, false otherwise
    */
   public boolean standaloneSet();
 
   /**
    * Returns the version of XML of this XML stream
< prev index next >