< prev index next >
src/java.xml.bind/share/classes/com/sun/xml/internal/bind/marshaller/DataWriter.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2012, 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) 1997, 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
*** 76,94 ****
* w.endDocument();
* </pre>
*
* <p>This code will produce the following document:</p>
*
! * <pre>
! * <?xml version="1.0" standalone="yes"?>
*
! * <Person>
! * <name>Jane Smith</name>
! * <date-of-birth>1965-05-23</date-of-birth>
! * <citizenship>US</citizenship>
! * </Person>
! * </pre>
*
* <p>This class inherits from {@link XMLWriter},
* and provides all of the same support for Namespaces.</p>
*
* @since 1.0
--- 76,94 ----
* w.endDocument();
* </pre>
*
* <p>This code will produce the following document:</p>
*
! * <pre>{@code
! * <?xml version="1.0" standalone="yes"?>
*
! * <Person>
! * <name>Jane Smith</name>
! * <date-of-birth>1965-05-23</date-of-birth>
! * <citizenship>US</citizenship>
! * </Person>
! * }</pre>
*
* <p>This class inherits from {@link XMLWriter},
* and provides all of the same support for Namespaces.</p>
*
* @since 1.0
< prev index next >