net.rim.device.api.io.parser.rss
Class RSSMessageProcessor
java.lang.Object
net.rim.device.api.io.parser.rss.RSSMessageProcessor
- All Implemented Interfaces:
- MessageProcessor
public class RSSMessageProcessor
- extends Object
- implements MessageProcessor
MessageProcessor
implementation that builds an RSSChannel from the message body,
and then updates the object representation of the message body.
- Since:
- BlackBerry API 6.0.0
|
Constructor Summary |
RSSMessageProcessor(int maxItemsToParse)
Constructs an RSSMessageProcessor. |
|
Method Summary |
void |
process(Message message)
Processes a Message and
builds an RSSChannel using the data in the message body. |
RSSMessageProcessor
public RSSMessageProcessor(int maxItemsToParse)
- Constructs an
RSSMessageProcessor.
- Parameters:
maxItemsToParse - Maximum number of items to process from the stream.- Since:
- BlackBerry API 6.0.0
process
public void process(Message message)
throws MessageProcessorException
- Processes a
Message and
builds an RSSChannel using the data in the message body. Updates the
message body with this new object.
- Specified by:
process in interface MessageProcessor
- Parameters:
message - Message to process.
- Throws:
MessageProcessorException - If there is a problem parsing the message body.- Since:
- BlackBerry API 6.0.0
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal