net.rim.device.api.io.parser.xml
Class DOMMessageProcessor

java.lang.Object
  extended by net.rim.device.api.io.parser.xml.DOMMessageProcessor
All Implemented Interfaces:
MessageProcessor

public class DOMMessageProcessor
extends Object
implements MessageProcessor

MessageProcessor implementation that builds an XML DOM from the message body, and then updates the Object representation of the message body.

Since:
BlackBerry API 6.0.0

Constructor Summary
DOMMessageProcessor()
          Constructs an DOMMessageProcessor
 
Method Summary
 void process(Message message)
          Processes a Message and builds an XML DOM using the data in the message body.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

DOMMessageProcessor

public DOMMessageProcessor()
Constructs an DOMMessageProcessor

Since:
BlackBerry API 6.0.0


Method Detail

process

public void process(Message message)
             throws MessageProcessorException
Processes a Message and builds an XML DOM 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