com.hammingweight.hammock.mocks.ksoap2.serialization
Class MockSoapSerializationEnvelope

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

public class MockSoapSerializationEnvelope
extends org.ksoap2.serialization.SoapSerializationEnvelope
implements IMockObject


Field Summary
static MockMethod MTHD_ADD_MAPPING_$_STRING_STRING_CLASS
           
static MockMethod MTHD_ADD_MAPPING_$_STRING_STRING_CLASS_MARSHAL
           
static MockMethod MTHD_ADD_TEMPLATE_$_SOAPOBJECT
           
static MockMethod MTHD_GET_INFO_$_OBJECT_OBJECT
           
static MockMethod MTHD_GET_RESPONSE
           
static MockMethod MTHD_GET_RESULT
           
static MockMethod MTHD_PARSE_$_XMLPULLPARSER
           
static MockMethod MTHD_PARSE_BODY_$_XMLPULLPARSER
           
static MockMethod MTHD_PARSE_HEADER_$_XMLPULLPARSER
           
static MockMethod MTHD_READ_$_XMLPULLPARSER_OBJECT_INT_STRING_STRING_PROPERTYINFO
           
static MockMethod MTHD_READ_INSTANCE_$_XMLPULLPARSER_STRING_STRING_PROPERTYINFO
           
static MockMethod MTHD_READ_SERIALIZABLE_$_XMLPULLPARSER_KVMSERIALIZABLE
           
static MockMethod MTHD_READ_UNKNOWN_$_XMLPULLPARSER_STRING_STRING
           
static MockMethod MTHD_READ_VECTOR_$_XMLPULLPARSER_VECTOR_PROPERTYINFO
           
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
           
static MockMethod MTHD_WRITE_OBJECT_BODY_$_XMLSERIALIZER_KVMSERIALIZABLE
           
static MockMethod MTHD_WRITE_PROPERTY_$_XMLSERIALIZER_OBJECT_PROPERTYINFO
           
static MockMethod MTHD_WRITE_VECTOR_BODY_$_XMLSERIALIZER_VECTOR_PROPERTYINFO
           
 
Fields inherited from class org.ksoap2.serialization.SoapSerializationEnvelope
classToQName, dotNet, implicitTypes, properties, QNAME_MARSHAL, QNAME_NAMESPACE, QNAME_TYPE, qNameToClass
 
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
MockSoapSerializationEnvelope(int arg0)
           
MockSoapSerializationEnvelope(int arg0, IInvocationHandler handler)
           
 
Method Summary
 void addMapping(java.lang.String arg0, java.lang.String arg1, java.lang.Class arg2)
           
 void addMapping(java.lang.String arg0, java.lang.String arg1, java.lang.Class arg2, org.ksoap2.serialization.Marshal arg3)
           
 void addTemplate(org.ksoap2.serialization.SoapObject arg0)
           
 java.lang.Object[] getInfo(java.lang.Object arg0, java.lang.Object arg1)
           
 IInvocationHandler getInvocationHandler()
          Gets the invocation handler that the mock object uses to evaluate method invocations.
 java.lang.Object getResponse()
           
 java.lang.Object getResult()
           
 void parse(org.xmlpull.v1.XmlPullParser arg0)
           
 void parseBody(org.xmlpull.v1.XmlPullParser arg0)
           
 void parseHeader(org.xmlpull.v1.XmlPullParser arg0)
           
 java.lang.Object read(org.xmlpull.v1.XmlPullParser arg0, java.lang.Object arg1, int arg2, java.lang.String arg3, java.lang.String arg4, org.ksoap2.serialization.PropertyInfo arg5)
           
 java.lang.Object readInstance(org.xmlpull.v1.XmlPullParser arg0, java.lang.String arg1, java.lang.String arg2, org.ksoap2.serialization.PropertyInfo arg3)
           
 void readSerializable(org.xmlpull.v1.XmlPullParser arg0, org.ksoap2.serialization.KvmSerializable arg1)
           
 java.lang.Object readUnknown(org.xmlpull.v1.XmlPullParser arg0, java.lang.String arg1, java.lang.String arg2)
           
 void readVector(org.xmlpull.v1.XmlPullParser arg0, java.util.Vector arg1, org.ksoap2.serialization.PropertyInfo arg2)
           
 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)
           
 void writeObjectBody(org.xmlpull.v1.XmlSerializer arg0, org.ksoap2.serialization.KvmSerializable arg1)
           
 void writeProperty(org.xmlpull.v1.XmlSerializer arg0, java.lang.Object arg1, org.ksoap2.serialization.PropertyInfo arg2)
           
 void writeVectorBody(org.xmlpull.v1.XmlSerializer arg0, java.util.Vector arg1, org.ksoap2.serialization.PropertyInfo arg2)
           
 
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_ADD_MAPPING_$_STRING_STRING_CLASS

public static final MockMethod MTHD_ADD_MAPPING_$_STRING_STRING_CLASS

MTHD_ADD_MAPPING_$_STRING_STRING_CLASS_MARSHAL

public static final MockMethod MTHD_ADD_MAPPING_$_STRING_STRING_CLASS_MARSHAL

MTHD_ADD_TEMPLATE_$_SOAPOBJECT

public static final MockMethod MTHD_ADD_TEMPLATE_$_SOAPOBJECT

MTHD_GET_INFO_$_OBJECT_OBJECT

public static final MockMethod MTHD_GET_INFO_$_OBJECT_OBJECT

MTHD_GET_RESPONSE

public static final MockMethod MTHD_GET_RESPONSE

MTHD_GET_RESULT

public static final MockMethod MTHD_GET_RESULT

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_READ_$_XMLPULLPARSER_OBJECT_INT_STRING_STRING_PROPERTYINFO

public static final MockMethod MTHD_READ_$_XMLPULLPARSER_OBJECT_INT_STRING_STRING_PROPERTYINFO

MTHD_READ_INSTANCE_$_XMLPULLPARSER_STRING_STRING_PROPERTYINFO

public static final MockMethod MTHD_READ_INSTANCE_$_XMLPULLPARSER_STRING_STRING_PROPERTYINFO

MTHD_READ_SERIALIZABLE_$_XMLPULLPARSER_KVMSERIALIZABLE

public static final MockMethod MTHD_READ_SERIALIZABLE_$_XMLPULLPARSER_KVMSERIALIZABLE

MTHD_READ_UNKNOWN_$_XMLPULLPARSER_STRING_STRING

public static final MockMethod MTHD_READ_UNKNOWN_$_XMLPULLPARSER_STRING_STRING

MTHD_READ_VECTOR_$_XMLPULLPARSER_VECTOR_PROPERTYINFO

public static final MockMethod MTHD_READ_VECTOR_$_XMLPULLPARSER_VECTOR_PROPERTYINFO

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

MTHD_WRITE_OBJECT_BODY_$_XMLSERIALIZER_KVMSERIALIZABLE

public static final MockMethod MTHD_WRITE_OBJECT_BODY_$_XMLSERIALIZER_KVMSERIALIZABLE

MTHD_WRITE_PROPERTY_$_XMLSERIALIZER_OBJECT_PROPERTYINFO

public static final MockMethod MTHD_WRITE_PROPERTY_$_XMLSERIALIZER_OBJECT_PROPERTYINFO

MTHD_WRITE_VECTOR_BODY_$_XMLSERIALIZER_VECTOR_PROPERTYINFO

public static final MockMethod MTHD_WRITE_VECTOR_BODY_$_XMLSERIALIZER_VECTOR_PROPERTYINFO
Constructor Detail

MockSoapSerializationEnvelope

public MockSoapSerializationEnvelope(int arg0)

MockSoapSerializationEnvelope

public MockSoapSerializationEnvelope(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.

addMapping

public void addMapping(java.lang.String arg0,
                       java.lang.String arg1,
                       java.lang.Class arg2)
Overrides:
addMapping in class org.ksoap2.serialization.SoapSerializationEnvelope

addMapping

public void addMapping(java.lang.String arg0,
                       java.lang.String arg1,
                       java.lang.Class arg2,
                       org.ksoap2.serialization.Marshal arg3)
Overrides:
addMapping in class org.ksoap2.serialization.SoapSerializationEnvelope

addTemplate

public void addTemplate(org.ksoap2.serialization.SoapObject arg0)
Overrides:
addTemplate in class org.ksoap2.serialization.SoapSerializationEnvelope

getInfo

public java.lang.Object[] getInfo(java.lang.Object arg0,
                                  java.lang.Object arg1)
Overrides:
getInfo in class org.ksoap2.serialization.SoapSerializationEnvelope

getResponse

public java.lang.Object getResponse()
                             throws org.ksoap2.SoapFault
Overrides:
getResponse in class org.ksoap2.serialization.SoapSerializationEnvelope
Throws:
org.ksoap2.SoapFault

getResult

public java.lang.Object getResult()
Overrides:
getResult in class org.ksoap2.serialization.SoapSerializationEnvelope

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.serialization.SoapSerializationEnvelope
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

read

public java.lang.Object read(org.xmlpull.v1.XmlPullParser arg0,
                             java.lang.Object arg1,
                             int arg2,
                             java.lang.String arg3,
                             java.lang.String arg4,
                             org.ksoap2.serialization.PropertyInfo arg5)
                      throws java.io.IOException,
                             org.xmlpull.v1.XmlPullParserException
Overrides:
read in class org.ksoap2.serialization.SoapSerializationEnvelope
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

readInstance

public java.lang.Object readInstance(org.xmlpull.v1.XmlPullParser arg0,
                                     java.lang.String arg1,
                                     java.lang.String arg2,
                                     org.ksoap2.serialization.PropertyInfo arg3)
                              throws java.io.IOException,
                                     org.xmlpull.v1.XmlPullParserException
Overrides:
readInstance in class org.ksoap2.serialization.SoapSerializationEnvelope
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

readSerializable

public void readSerializable(org.xmlpull.v1.XmlPullParser arg0,
                             org.ksoap2.serialization.KvmSerializable arg1)
                      throws java.io.IOException,
                             org.xmlpull.v1.XmlPullParserException
Overrides:
readSerializable in class org.ksoap2.serialization.SoapSerializationEnvelope
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

readUnknown

public java.lang.Object readUnknown(org.xmlpull.v1.XmlPullParser arg0,
                                    java.lang.String arg1,
                                    java.lang.String arg2)
                             throws java.io.IOException,
                                    org.xmlpull.v1.XmlPullParserException
Overrides:
readUnknown in class org.ksoap2.serialization.SoapSerializationEnvelope
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

readVector

public void readVector(org.xmlpull.v1.XmlPullParser arg0,
                       java.util.Vector arg1,
                       org.ksoap2.serialization.PropertyInfo arg2)
                throws java.io.IOException,
                       org.xmlpull.v1.XmlPullParserException
Overrides:
readVector in class org.ksoap2.serialization.SoapSerializationEnvelope
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.serialization.SoapSerializationEnvelope
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

writeObjectBody

public void writeObjectBody(org.xmlpull.v1.XmlSerializer arg0,
                            org.ksoap2.serialization.KvmSerializable arg1)
                     throws java.io.IOException
Overrides:
writeObjectBody in class org.ksoap2.serialization.SoapSerializationEnvelope
Throws:
java.io.IOException

writeProperty

public void writeProperty(org.xmlpull.v1.XmlSerializer arg0,
                          java.lang.Object arg1,
                          org.ksoap2.serialization.PropertyInfo arg2)
                   throws java.io.IOException
Overrides:
writeProperty in class org.ksoap2.serialization.SoapSerializationEnvelope
Throws:
java.io.IOException

writeVectorBody

public void writeVectorBody(org.xmlpull.v1.XmlSerializer arg0,
                            java.util.Vector arg1,
                            org.ksoap2.serialization.PropertyInfo arg2)
                     throws java.io.IOException
Overrides:
writeVectorBody in class org.ksoap2.serialization.SoapSerializationEnvelope
Throws:
java.io.IOException