SASAX-RSS gui

jp.ne.dti.lares.foozy.sasax.rss
Class ChannelNotification

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.sasax.rss.ChannelNotification
All Implemented Interfaces:
jp.ne.dti.lares.foozy.sasax.Notification

public class ChannelNotification
extends java.lang.Object
implements jp.ne.dti.lares.foozy.sasax.Notification

Listener to set information up from parse result of "channel" element.

This expects to be added to ChannelElement.

Author:
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>(code/doc)

Constructor Summary
ChannelNotification(Channel channel)
          Constructor.
 
Method Summary
 void elementEnded(jp.ne.dti.lares.foozy.sasax.Element element, jp.ne.dti.lares.foozy.sasax.ParseContext context)
          Invoked when target element is "ended".
 void elementStarted(jp.ne.dti.lares.foozy.sasax.Element element, jp.ne.dti.lares.foozy.sasax.ParseContext context, org.xml.sax.Attributes attributes)
          Invoked when target element is "started".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelNotification

public ChannelNotification(Channel channel)
Constructor.
Parameters:
channel - into which information is stored
Method Detail

elementStarted

public void elementStarted(jp.ne.dti.lares.foozy.sasax.Element element,
                           jp.ne.dti.lares.foozy.sasax.ParseContext context,
                           org.xml.sax.Attributes attributes)
                    throws org.xml.sax.SAXException
Invoked when target element is "started".

This store value(s) shown below into channel, which is specified at construction time.

Specified by:
elementStarted in interface jp.ne.dti.lares.foozy.sasax.Notification
Parameters:
element - which is started
context - of SAX document parsing.
attrs - given by "startElement" SAX event.

elementEnded

public void elementEnded(jp.ne.dti.lares.foozy.sasax.Element element,
                         jp.ne.dti.lares.foozy.sasax.ParseContext context)
                  throws org.xml.sax.SAXException
Invoked when target element is "ended".

This store value(s) shown below into channel, which is specified at construction time.

Specified by:
elementEnded in interface jp.ne.dti.lares.foozy.sasax.Notification
Parameters:
element - which is ended
context - of SAX document parsing.

SASAX-RSS gui