com.hammingweight.hammock.mocks.ksoap2
Class MockSoapEnvelope

java.lang.Object
  extended by org.ksoap2.SoapEnvelope
      extended by com.hammingweight.hammock.mocks.ksoap2.MockSoapEnvelope
All Implemented Interfaces:
IMockObject

public class MockSoapEnvelope
extends org.ksoap2.SoapEnvelope
implements IMockObject


Field Summary
static MockMethod MTHD_PARSE_$_XMLPULLPARSER
           
static MockMethod MTHD_PARSE_BODY_$_XMLPULLPARSER
           
static MockMethod MTHD_PARSE_HEADER_$_XMLPULLPARSER
           
static MockMethod MTHD_SET_OUTPUT_SOAP_OBJECT_$_OBJECT
           
static MockMethod MTHD_WRITE_$_XMLSERIALIZER
           
static MockMethod MTHD_WRITE_BODY_$_XMLSERIALIZER
           
static MockMethod MTHD_WRITE_HEADER_$_XMLSERIALIZER
           
 
Fields inherited from class org.ksoap2.SoapEnvelope
bodyIn, bodyOut, enc, ENC, ENC2001, encodingStyle, env, ENV, ENV2001, headerIn, headerOut, VER10, VER11, VER12, version, xsd, XSD, XSD1999, xsi, XSI, XSI1999
 
Constructor Summary
MockSoapEnvelope(int arg0)
           
MockSoapEnvelope(int arg0, IInvocationHandler handler)
           
 
Method Summary
 IInvocationHandler getInvocationHandler()
          Gets the invocation handler that the mock object uses to evaluate method invocations.
 void parse(org.xmlpull.v1.XmlPullParser arg0)
           
 void parseBody(org.xmlpull.v1.XmlPullParser arg0)
           
 void parseHeader(org.xmlpull.v1.XmlPullParser arg0)
           
 void setInvocationHandler(IInvocationHandler handler)
          Sets the invocation handler that the mock object should use to evaluate method invocations.
 void setOutputSoapObject(java.lang.Object arg0)
           
 void write(org.xmlpull.v1.XmlSerializer arg0)
           
 void writeBody(org.xmlpull.v1.XmlSerializer arg0)
           
 void writeHeader(org.xmlpull.v1.XmlSerializer arg0)
           
 
Methods inherited from class org.ksoap2.SoapEnvelope
stringToBoolean
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MTHD_PARSE_$_XMLPULLPARSER

public static final MockMethod MTHD_PARSE_$_XMLPULLPARSER

MTHD_PARSE_BODY_$_XMLPULLPARSER

public static final MockMethod MTHD_PARSE_BODY_$_XMLPULLPARSER

MTHD_PARSE_HEADER_$_XMLPULLPARSER

public static final MockMethod MTHD_PARSE_HEADER_$_XMLPULLPARSER

MTHD_SET_OUTPUT_SOAP_OBJECT_$_OBJECT

public static final MockMethod MTHD_SET_OUTPUT_SOAP_OBJECT_$_OBJECT

MTHD_WRITE_$_XMLSERIALIZER

public static final MockMethod MTHD_WRITE_$_XMLSERIALIZER

MTHD_WRITE_BODY_$_XMLSERIALIZER

public static final MockMethod MTHD_WRITE_BODY_$_XMLSERIALIZER

MTHD_WRITE_HEADER_$_XMLSERIALIZER

public static final MockMethod MTHD_WRITE_HEADER_$_XMLSERIALIZER
Constructor Detail

MockSoapEnvelope

public MockSoapEnvelope(int arg0)

MockSoapEnvelope

public MockSoapEnvelope(int arg0,
                        IInvocationHandler handler)
Method Detail

setInvocationHandler

public final void setInvocationHandler(IInvocationHandler handler)
Description copied from interface: IMockObject
Sets the invocation handler that the mock object should use to evaluate method invocations.

Specified by:
setInvocationHandler in interface IMockObject
Parameters:
handler - The invocation handler to be used by the mock object.

getInvocationHandler

public final IInvocationHandler getInvocationHandler()
Description copied from interface: IMockObject
Gets the invocation handler that the mock object uses to evaluate method invocations.

Specified by:
getInvocationHandler in interface IMockObject
Returns:
The invocation handler used by the mock object.

parse

public void parse(org.xmlpull.v1.XmlPullParser arg0)
           throws java.io.IOException,
                  org.xmlpull.v1.XmlPullParserException
Overrides:
parse in class org.ksoap2.SoapEnvelope
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

parseBody

public void parseBody(org.xmlpull.v1.XmlPullParser arg0)
               throws java.io.IOException,
                      org.xmlpull.v1.XmlPullParserException
Overrides:
parseBody in class org.ksoap2.SoapEnvelope
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

parseHeader

public void parseHeader(org.xmlpull.v1.XmlPullParser arg0)
                 throws java.io.IOException,
                        org.xmlpull.v1.XmlPullParserException
Overrides:
parseHeader in class org.ksoap2.SoapEnvelope
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

setOutputSoapObject

public void setOutputSoapObject(java.lang.Object arg0)
Overrides:
setOutputSoapObject in class org.ksoap2.SoapEnvelope

write

public void write(org.xmlpull.v1.XmlSerializer arg0)
           throws java.io.IOException
Overrides:
write in class org.ksoap2.SoapEnvelope
Throws:
java.io.IOException

writeBody

public void writeBody(org.xmlpull.v1.XmlSerializer arg0)
               throws java.io.IOException
Overrides:
writeBody in class org.ksoap2.SoapEnvelope
Throws:
java.io.IOException

writeHeader

public void writeHeader(org.xmlpull.v1.XmlSerializer arg0)
                 throws java.io.IOException
Overrides:
writeHeader in class org.ksoap2.SoapEnvelope
Throws:
java.io.IOException