net.rim.pushsdk.pap.unmarshal
Class ResultNotificationUnmarshaller
java.lang.Object
net.rim.pushsdk.pap.unmarshal.PapMessageUnmarshaller
net.rim.pushsdk.pap.unmarshal.ResultNotificationUnmarshaller
public class ResultNotificationUnmarshaller
- extends PapMessageUnmarshaller
Unmarshals a PAP Result Notification message.
- Author:
- mdandrea
| Fields inherited from class net.rim.pushsdk.pap.unmarshal.PapMessageUnmarshaller |
ADDRESS_TAG, ADDRESS_VALUE_ATTR, BAD_FORMAT_ERROR_MSG, BEARER_ATTR, BEARER_REQ_ATTR, CODE_ATTR, DELIVERY_METHOD_ATTR, DESC_ATTR, EVENT_TIME_ATTR, MESSAGE_STATE_ATTR, MISSING_MANDATORY_ERROR_MSG, PUSH_ID_ATTR, QUALITY_OF_SERVICE_TAG, saxParser, SENDER_ADDRESS_ATTR, SENDER_NAME_ATTR, VALUE_MSG |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultNotificationUnmarshaller
public ResultNotificationUnmarshaller()
throws PushSDKException
- Constructs a result notification unmarshaller.
- Throws:
PushSDKException - if any errors occur initializing the XML parser
unmarshal
public PapMessage unmarshal(String xml)
throws SAXException,
IOException
- Description copied from class:
PapMessageUnmarshaller
- Unmarshals a PAP XML message.
- Specified by:
unmarshal in class PapMessageUnmarshaller
- Parameters:
xml - the PAP XML to unmarshal
- Returns:
- the umarshalled PAP message
- Throws:
SAXException - if any SAX errors occur during processing
IOException - if any IO errors occur
Copyright © 2011 Research In Motion. All Rights Reserved.