|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChannelBuilderIF
This interface allows the channel generators (like a parser) to create the channel object model independent from which implementation is used (in-memory or persistent store).
Method Summary | |
---|---|
void |
beginTransaction()
|
void |
close()
Closes the builder. |
CategoryIF |
createCategory(CategoryIF parent,
String title)
|
ChannelIF |
createChannel(org.jdom.Element channelElement,
String title)
|
ChannelIF |
createChannel(org.jdom.Element channelElement,
String title,
String location)
|
ChannelIF |
createChannel(String title)
|
ChannelIF |
createChannel(String title,
String location)
|
ChannelGroupIF |
createChannelGroup(String title)
|
CloudIF |
createCloud(String domain,
int port,
String path,
String registerProcedure,
String protocol)
|
ImageIF |
createImage(String title,
URL location,
URL link)
|
ItemIF |
createItem(ChannelIF channel,
ItemIF item)
|
ItemIF |
createItem(ChannelIF channel,
String title,
String description,
URL link)
Creates a news item and assign it to the given channel. |
ItemIF |
createItem(org.jdom.Element itemElement,
ChannelIF channel,
String title,
String description,
URL link)
|
ItemEnclosureIF |
createItemEnclosure(ItemIF item,
URL location,
String type,
int length)
|
ItemGuidIF |
createItemGuid(ItemIF item,
String location,
boolean permaLink)
|
ItemSourceIF |
createItemSource(ItemIF item,
String name,
String location,
Date timestamp)
|
TextInputIF |
createTextInput(String title,
String description,
String name,
URL link)
|
void |
endTransaction()
|
void |
init(Properties props)
Sets the runtime properties defined for this channel builder. |
void |
update(Object o)
|
Method Detail |
---|
void init(Properties props) throws ChannelBuilderException
props
- The parsed set of properties which may be applied to
this object.
ChannelBuilderException
- If the initialisation fails for
some reason.ChannelGroupIF createChannelGroup(String title)
ChannelIF createChannel(String title)
ChannelIF createChannel(String title, String location)
ChannelIF createChannel(org.jdom.Element channelElement, String title)
ChannelIF createChannel(org.jdom.Element channelElement, String title, String location)
ItemIF createItem(ChannelIF channel, String title, String description, URL link)
ItemIF createItem(org.jdom.Element itemElement, ChannelIF channel, String title, String description, URL link)
ItemIF createItem(ChannelIF channel, ItemIF item)
ImageIF createImage(String title, URL location, URL link)
TextInputIF createTextInput(String title, String description, String name, URL link)
ItemSourceIF createItemSource(ItemIF item, String name, String location, Date timestamp)
ItemEnclosureIF createItemEnclosure(ItemIF item, URL location, String type, int length)
ItemGuidIF createItemGuid(ItemIF item, String location, boolean permaLink)
CloudIF createCloud(String domain, int port, String path, String registerProcedure, String protocol)
CategoryIF createCategory(CategoryIF parent, String title)
void close() throws ChannelBuilderException
ChannelBuilderException
void beginTransaction() throws ChannelBuilderException
ChannelBuilderException
void endTransaction() throws ChannelBuilderException
ChannelBuilderException
void update(Object o) throws ChannelBuilderException
ChannelBuilderException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |