Fields and methods of the jala.XmlWriter class.
Construct a new XML writer.
parameters
String | header | An optional XML header. |
methods
- createElement(data)
- getRoot()
- extend(template, ext)
- addNamespace(name, url)
- write()
- toString()
- clone(The)
Methods
Get a newly created XML element.
parameters
Object | data | The XML data as object tree. |
returns
The resulting XML element. |
Extend a template object.
parameters
Object | template | The template object. |
Object | ext | The extension object. |
returns
The XML writer. |
Add a namespace to this writer.
parameters
String | name | The name of the namespace. |
String | url | The URL string of the namespace. |
returns
The XML root element. |
Write the XML to the response buffer.
Clone this XML writer.
parameters
Object | The | clone templare. |
returns
The cloned XML writer. |