< prev index next >
src/java.xml/share/classes/org/xml/sax/helpers/NamespaceSupport.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 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
@@ -485,10 +485,12 @@
* Controls whether namespace declaration attributes are placed
* into the {@link #NSDECL NSDECL} namespace
* by {@link #processName processName()}. This may only be
* changed before any contexts have been pushed.
*
+ * @param value a flag indicating whether namespace declaration attributes
+ * are placed into the {@link #NSDECL NSDECL} namespace
* @since 1.5, SAX 2.1alpha
*
* @exception IllegalStateException when attempting to set this
* after any context has been pushed.
*/
@@ -509,10 +511,12 @@
/**
* Returns true if namespace declaration attributes are placed into
* a namespace. This behavior is not the default.
*
+ * @return true if namespace declaration attributes are placed into a namespace,
+ * false otherwise
* @since 1.5, SAX 2.1alpha
*/
public boolean isNamespaceDeclUris ()
{ return namespaceDeclUris; }
< prev index next >