|
Jala 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--jala.XmlWriter
|
+--jala.Rss20Writer
Class to create, modify and render standard-compliant
RSS 2.0 feeds.
Defined in Rss20Writer.js
| Constructor Summary | |
jala.Rss20Writer
(<String> header)
|
|
| Method Summary | |
void
|
addCategory(<String> name, <String> domain, <jala.XmlWriter.XmlElement> parent)
Add a category element to an arbitrary element. |
void
|
addItem(<jala.XmlWriter.XmlElement> item)
Add an item element to the channel element. |
jala.XmlWriter.XmlElement
|
createItem(<Object> data)
Get a new and innocent item element. |
void
|
extendChannel(<Array> ext)
Add child elements to the channel template. |
void
|
extendItem(<Array> ext)
Add child elements to the item template. |
jala.XmlWriter.XmlElement
|
getChannel()
Get the writer's channel element. |
jala.XmlWriter.XmlElement
|
getRoot()
Get the writer's root element. |
jala.XmlWriter.XmlElement
|
setChannel(<Object> data)
Populate the channel element with data. |
void
|
setImage(<Object> data)
Populate the image element with data. |
void
|
setTextInput(<Object> data)
Populate the textInput element with data. |
| Methods inherited from class jala.XmlWriter |
createElement, extend, addNamespace, write, toString, clone
|
| Constructor Detail |
jala.Rss20Writer(<String> header)
header - Optional XML header.
| Method Detail |
void addCategory(<String> name, <String> domain, <jala.XmlWriter.XmlElement> parent)
name - The name of the category.
domain - The domain of the category.
parent - The optional parent element.
void addItem(<jala.XmlWriter.XmlElement> item)
item - The item element to add.
jala.XmlWriter.XmlElement createItem(<Object> data)
data - An XmlWriter-compliant object structure.
void extendChannel(<Array> ext)
ext - List of additional child elements.
void extendItem(<Array> ext)
ext - List of additional child elements.
jala.XmlWriter.XmlElement getChannel()
jala.XmlWriter.XmlElement getRoot()
jala.XmlWriter.XmlElement setChannel(<Object> data)
data - An XmlWriter-compliant object structure.
void setImage(<Object> data)
data - An XmlWriter-compliant object structure.
void setTextInput(<Object> data)
data - An XmlWriter-compliant object structure.
|
Jala 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||