Lines Matching defs:writer

129  * <p>The writer contains extensive support for XML Namespaces, so that
131 * supply <var>xmlns</var> attributes. By default, the XML writer will
151 * XML writer allows two methods for selecting prefixes:</p>
158 * <p>Whenever the XML writer finds a new Namespace URI, it checks
198 * <p>By default, the XML writer will not declare a Namespace until
219 * problem, you can instruct the XML writer to predeclare Namespaces
263 * Create a new XML writer.
274 * Create a new XML writer.
276 * <p>Write to the writer provided.</p>
278 * @param writer The output destination, or null to use standard
281 public XMLWriter (Writer writer)
283 init(writer);
288 * Create a new XML writer.
303 * Create a new XML writer.
306 * to the specified writer.</p>
310 * @param writer The output destination, or null to use standard
313 public XMLWriter (XMLReader xmlreader, Writer writer)
316 init(writer);
325 * @param writer The output destination, or null to use
328 private void init (Writer writer)
330 setOutput(writer);
347 * Reset the writer.
349 * <p>This method is especially useful if the writer throws an
351 * writer for a new document. It is usually a good idea to
352 * invoke {@link #flush flush} before resetting the writer,
360 * clear the prefix or URI information in the writer or
361 * the selected output writer.</p>
397 * @param writer The output destination, or null to use
399 * @return The current output writer.
402 public void setOutput (Writer writer)
404 if (writer == null) {
407 output = writer;
743 * is strictly advisory: the writer may or may not use