com.pkrete.jsip2.parser
Class SIP2PatronStatusResponseParser

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

public class SIP2PatronStatusResponseParser
extends SIP2ResponseParser

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

Author:
Petteri Kivimäki

Constructor Summary
SIP2PatronStatusResponseParser()
           
 
Method Summary
 SIP2MessageResponse parse(String data)
          Parses a new SIP2PatronStatusResponse 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

SIP2PatronStatusResponseParser

public SIP2PatronStatusResponseParser()
Method Detail

parse

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

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


Copyright © 2012-2014. All Rights Reserved.