--- old/src/java.xml/share/classes/javax/xml/stream/events/NotationDeclaration.java 2020-08-24 17:28:56.714308482 +0000 +++ new/src/java.xml/share/classes/javax/xml/stream/events/NotationDeclaration.java 2020-08-24 17:28:56.424293686 +0000 @@ -1,5 +1,5 @@ /* - * 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 @@ -40,16 +40,19 @@ public interface NotationDeclaration extends XMLEvent { /** * The notation name. + * @return the name */ String getName(); /** * The notation's public identifier, or null if none was given. + * @return the public identifier */ String getPublicId(); /** * The notation's system identifier, or null if none was given. + * @return the system identifier */ String getSystemId(); }