jp.ne.dti.lares.foozy.sasax.rss
Class RDFLiNotification
java.lang.Object
|
+--jp.ne.dti.lares.foozy.sasax.rss.RDFLiNotification
- All Implemented Interfaces:
- jp.ne.dti.lares.foozy.sasax.Notification
- public class RDFLiNotification
- extends java.lang.Object
- implements jp.ne.dti.lares.foozy.sasax.Notification
Listener to set information up from parse result of "rdf:li" element.
This expects to be added to RDFLiElement
.
- Author:
- FUJIWARA Katsunori <foozy@lares.dti.ne.jp>(code/doc)
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 |
RDFLiNotification
public RDFLiNotification(Channel channel)
- Constructor.
- Parameters:
channel
- into which information is stored
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 adds Item
created with
"rdf:resource" attribute value as ID
to channel,
which is specified at construction time.
- Specified by:
elementStarted
in interface jp.ne.dti.lares.foozy.sasax.Notification
- Parameters:
element
- which is startedcontext
- 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 does nothing.
- Specified by:
elementEnded
in interface jp.ne.dti.lares.foozy.sasax.Notification
- Parameters:
element
- which is endedcontext
- of SAX document parsing.