< prev index next >
src/java.xml.bind/share/classes/com/sun/xml/internal/txw2/output/DataWriter.java
Print this page
*** 75,93 ****
* 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
--- 75,93 ----
* 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 >