| Modifier and Type | Field and Description |
|---|---|
| protected StringBuilder | buffer
Buffer. |
| public static final int | CLOSING
Closing tag. |
| protected boolean | |
| public static final int | NO_CONTENT
Element with no content. |
| public static final int | OPENING
Opening tag. |
| protected final Writer | writer
Writer. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public String | Returns: String containing the generated XMLOverrides java. Retrieve generated XML. |
| public void | |
| public void | writeElement(String
Namespace abbreviation namespace, String Element name name, int Element type type)Write an element. |
| public void | writeElement(String
Namespace abbreviation namespace, String Namespace info namespaceInfo, String Element name name, int Element type type)Write an element. |
| public void | writeProperty(String
Namespace namespace, String Property name name, String Property value value)Write property to the XML. |
| public void | |
| public void | |
| public void |
| buffer | back to summary |
|---|---|
| protected StringBuilder buffer Buffer. | |
| CLOSING | back to summary |
|---|---|
| public static final int CLOSING Closing tag. | |
| lastWriteWasOpen | back to summary |
|---|---|
| protected boolean lastWriteWasOpen | |
| NO_CONTENT | back to summary |
|---|---|
| public static final int NO_CONTENT Element with no content. | |
| OPENING | back to summary |
|---|---|
| public static final int OPENING Opening tag. | |
| writer | back to summary |
|---|---|
| protected final Writer writer Writer. | |
| XMLWriter | back to summary |
|---|---|
| public XMLWriter() New XML writer utility that will store its data in an internal buffer. | |
| XMLWriter | back to summary |
|---|---|
| public XMLWriter(Writer writer) New XML writer utility that will store its data in an internal buffer and can write it to the specified writer.
See
| |
| sendData | back to summary |
|---|---|
| public void sendData() throws IOException Send data and reinitializes buffer, if a writer has been specified.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Retrieve generated XML. | |
| writeData | back to summary |
|---|---|
| public void writeData(String data) Write data.
| |
| writeElement | back to summary |
|---|---|
| public void writeElement(String namespace, String name, int type) Write an element. | |
| writeElement | back to summary |
|---|---|
| public void writeElement(String namespace, String namespaceInfo, String name, int type) Write an element. | |
| writeProperty | back to summary |
|---|---|
| public void writeProperty(String namespace, String name, String value) Write property to the XML. | |
| writeRaw | back to summary |
|---|---|
| public void writeRaw(String raw) Write raw XML data.
| |
| writeText | back to summary |
|---|---|
| public void writeText(String text) Write text.
| |
| writeXMLHeader | back to summary |
|---|---|
| public void writeXMLHeader() Write XML Header. | |