< prev index next >

src/java.xml.bind/share/classes/com/sun/xml/internal/txw2/output/XMLWriter.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2013, 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 --- 1,7 ---- /* ! * Copyright (c) 2005, 2015, 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
*** 166,176 **** * own prefixes rather than using the (ugly) default names. The * XML writer allows two methods for selecting prefixes:</p> * * <ol> * <li>the qualified name</li> ! * <li>the {@link #setPrefix setPrefix} method.</li> * </ol> * * <p>Whenever the XML writer finds a new Namespace URI, it checks * to see if a qualified (prefixed) name is also available; if so * it attempts to use the name's prefix (as long as the prefix is --- 166,176 ---- * own prefixes rather than using the (ugly) default names. The * XML writer allows two methods for selecting prefixes:</p> * * <ol> * <li>the qualified name</li> ! * <li>the {@link #startPrefixMapping(String, String)} method.</li> * </ol> * * <p>Whenever the XML writer finds a new Namespace URI, it checks * to see if a qualified (prefixed) name is also available; if so * it attempts to use the name's prefix (as long as the prefix is
< prev index next >