equal
deleted
inserted
replaced
34 * @author Joe Wang |
34 * @author Joe Wang |
35 */ |
35 */ |
36 public interface XMLStreamWriter { |
36 public interface XMLStreamWriter { |
37 |
37 |
38 //Defaults the XML version to 1.0, and the encoding to utf-8 |
38 //Defaults the XML version to 1.0, and the encoding to utf-8 |
39 public final static String DEFAULT_XML_VERSION = "1.0"; |
39 public static final String DEFAULT_XML_VERSION = "1.0"; |
40 public final static String DEFAULT_ENCODING = "UTF-8"; |
40 public static final String DEFAULT_ENCODING = "UTF-8"; |
41 |
41 |
42 /** |
42 /** |
43 * Writes a start tag to the output. All writeStartElement methods |
43 * Writes a start tag to the output. All writeStartElement methods |
44 * open a new scope in the internal namespace context. Writing the |
44 * open a new scope in the internal namespace context. Writing the |
45 * corresponding EndElement causes the scope to be closed. |
45 * corresponding EndElement causes the scope to be closed. |