com.pkrete.jsip2.parser
Class SIP2CheckoutResponseParser

java.lang.Object
  extended by com.pkrete.jsip2.parser.SIP2ResponseParser
      extended by com.pkrete.jsip2.parser.SIP2CheckoutResponseParser

public class SIP2CheckoutResponseParser
extends SIP2ResponseParser

This class parses the data received from the ILS SIP server and generates SIP2CheckoutResponse objects.

Author:
Petteri Kivimäki

Constructor Summary
SIP2CheckoutResponseParser()
           
 
Method Summary
 SIP2CheckoutResponse parse(String data)
          Parses a new SIP2CheckoutResponse from the given data.
 
Methods inherited from class com.pkrete.jsip2.parser.SIP2ResponseParser
charEmptyToBool, charToBool, exists, existsAndNotEmpty, intToBool, parseChecksum, parseSequence, parseVariable, parseVariable, parseVariableMulti, parseVariableWithoutDelimiter, parseVariableWithoutDelimiter, stringToInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIP2CheckoutResponseParser

public SIP2CheckoutResponseParser()
Method Detail

parse

public SIP2CheckoutResponse parse(String data)
                           throws InvalidSIP2ResponseValueException,
                                  InvalidSIP2ResponseException
Parses a new SIP2CheckoutResponse from the given data.

Specified by:
parse in class SIP2ResponseParser
Parameters:
data - message response data
Returns:
SIP2CheckoutResponse object parsed from the data
Throws:
InvalidSIP2ResponseValueException
InvalidSIP2ResponseException


Copyright © 2012-2014. All Rights Reserved.