org.robsite.extension.rss.model
Class Channels

java.lang.Object
  extended byorg.robsite.extension.rss.model.Channels
All Implemented Interfaces:
oracle.ide.util.Copyable

public class Channels
extends java.lang.Object
implements oracle.ide.util.Copyable


Constructor Summary
Channels()
           
 
Method Summary
 void addChannel(Channel c)
          Add a channel.
 void addListListener(ListListener cl)
           
 int checkChannel(int channelIndex)
           
 java.lang.Object copyTo(java.lang.Object target)
           
 void fireChannelUpdated(Channel channel)
           
 java.util.List getAllChannels()
           
 oracle.ide.util.Pair getChannelInfo()
           
 java.util.List getSubscribedChannels()
           
 java.util.List getUnsubscribedChannels()
           
 boolean isChannelSubscribed(Channel channel)
           
 void load(java.io.InputStream is)
           
 void removeChannel(Channel c)
           
 void removeListListener(ListListener cl)
           
 void save(java.io.OutputStream os)
           
 void setChannelInfo(oracle.ide.util.Pair pair)
           
 void setChannelSubscribed(Channel channel, boolean isSubscribed)
           
 void setSubscribedChannels(java.util.List subscribed)
           
 void setUnsubscribedChannels(java.util.List unsubscribed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Channels

public Channels()
Method Detail

addListListener

public void addListListener(ListListener cl)

removeListListener

public void removeListListener(ListListener cl)

getChannelInfo

public oracle.ide.util.Pair getChannelInfo()

setChannelInfo

public void setChannelInfo(oracle.ide.util.Pair pair)

getSubscribedChannels

public java.util.List getSubscribedChannels()

getUnsubscribedChannels

public java.util.List getUnsubscribedChannels()

setSubscribedChannels

public void setSubscribedChannels(java.util.List subscribed)
                           throws oracle.ide.util.TransientMarker
Throws:
oracle.ide.util.TransientMarker

setUnsubscribedChannels

public void setUnsubscribedChannels(java.util.List unsubscribed)
                             throws oracle.ide.util.TransientMarker
Throws:
oracle.ide.util.TransientMarker

getAllChannels

public java.util.List getAllChannels()

save

public void save(java.io.OutputStream os)

load

public void load(java.io.InputStream is)

checkChannel

public int checkChannel(int channelIndex)
                 throws java.net.MalformedURLException,
                        org.xml.sax.SAXException,
                        java.io.IOException,
                        javax.xml.parsers.ParserConfigurationException
Throws:
java.net.MalformedURLException
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException

fireChannelUpdated

public void fireChannelUpdated(Channel channel)

addChannel

public void addChannel(Channel c)
Add a channel. All channels start off subscribed.

Parameters:
c -

removeChannel

public void removeChannel(Channel c)

setChannelSubscribed

public void setChannelSubscribed(Channel channel,
                                 boolean isSubscribed)

isChannelSubscribed

public boolean isChannelSubscribed(Channel channel)

copyTo

public java.lang.Object copyTo(java.lang.Object target)
Specified by:
copyTo in interface oracle.ide.util.Copyable


Copyright © 2005 robsite.org. All Rights Reserved.