public class XmlWriter extends Object
| Constructor and Description |
|---|
XmlWriter(PrintWriter writer) |
XmlWriter(PrintWriter writer,
String lineIndenter) |
XmlWriter(PrintWriter writer,
String encoding,
String doctype) |
XmlWriter(PrintWriter writer,
String lineIndenter,
String encoding,
String doctype) |
XmlWriter(Writer writer) |
XmlWriter(Writer writer,
String lineIndenter) |
XmlWriter(Writer writer,
String encoding,
String doctype) |
XmlWriter(Writer writer,
String lineIndenter,
String encoding,
String doctype) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String key,
String value) |
void |
endElement() |
protected void |
endOfLine() |
void |
startElement(String name) |
void |
writeMarkup(String text) |
void |
writeText(String text) |
public XmlWriter(PrintWriter writer, String lineIndenter)
public XmlWriter(PrintWriter writer)
public XmlWriter(Writer writer)
public XmlWriter(PrintWriter writer, String lineIndenter, String encoding, String doctype)
public XmlWriter(PrintWriter writer, String encoding, String doctype)
Copyright © 2005–2023 The Apache Software Foundation. All rights reserved.