public class CounterConverter
extends java.lang.Object
Constructor and Description |
---|
CounterConverter() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Counter> |
convertSOAPMessageToCounters(javax.xml.soap.SOAPMessage sushi)
returns a list of
Counter objects generated from the response of a SUSHI request. |
public static java.util.List<Counter> convertSOAPMessageToCounters(javax.xml.soap.SOAPMessage sushi) throws javax.xml.soap.SOAPException, java.io.IOException, org.jdom2.JDOMException
Counter
objects generated from the response of a SUSHI request.sushi
- the SUSHI responsejavax.xml.soap.SOAPException
- thrown upon errors occurring parsing the SUSHI responsejava.io.IOException
- thrown upon errors occurring writing of the SUSHI response to the SAX-Buuilderorg.jdom2.JDOMException
- thrown upon errors parsing the xml structure of the SUSHI response