jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/marshaller/DataWriter.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
76 * w.endDocument(); |
76 * w.endDocument(); |
77 * </pre> |
77 * </pre> |
78 * |
78 * |
79 * <p>This code will produce the following document:</p> |
79 * <p>This code will produce the following document:</p> |
80 * |
80 * |
81 * <pre> |
81 * <pre>{@code |
82 * <?xml version="1.0" standalone="yes"?> |
82 * <?xml version="1.0" standalone="yes"?> |
83 * |
83 * |
84 * <Person> |
84 * <Person> |
85 * <name>Jane Smith</name> |
85 * <name>Jane Smith</name> |
86 * <date-of-birth>1965-05-23</date-of-birth> |
86 * <date-of-birth>1965-05-23</date-of-birth> |
87 * <citizenship>US</citizenship> |
87 * <citizenship>US</citizenship> |
88 * </Person> |
88 * </Person> |
89 * </pre> |
89 * }</pre> |
90 * |
90 * |
91 * <p>This class inherits from {@link XMLWriter}, |
91 * <p>This class inherits from {@link XMLWriter}, |
92 * and provides all of the same support for Namespaces.</p> |
92 * and provides all of the same support for Namespaces.</p> |
93 * |
93 * |
94 * @since 1.0 |
94 * @since 1.0 |