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

java.lang.Object
  extended by org.ksoap2.serialization.SoapPrimitive
      extended by com.hammingweight.hammock.mocks.ksoap2.serialization.MockSoapPrimitive
All Implemented Interfaces:
IMockObject

public class MockSoapPrimitive
extends org.ksoap2.serialization.SoapPrimitive
implements IMockObject


Field Summary
static MockMethod MTHD_GET_NAME
           
static MockMethod MTHD_GET_NAMESPACE
           
 
Constructor Summary
MockSoapPrimitive(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2)
           
MockSoapPrimitive(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, IInvocationHandler handler)
           
 
Method Summary
 IInvocationHandler getInvocationHandler()
          Gets the invocation handler that the mock object uses to evaluate method invocations.
 java.lang.String getName()
           
 java.lang.String getNamespace()
           
 void setInvocationHandler(IInvocationHandler handler)
          Sets the invocation handler that the mock object should use to evaluate method invocations.
 
Methods inherited from class org.ksoap2.serialization.SoapPrimitive
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MTHD_GET_NAME

public static final MockMethod MTHD_GET_NAME

MTHD_GET_NAMESPACE

public static final MockMethod MTHD_GET_NAMESPACE
Constructor Detail

MockSoapPrimitive

public MockSoapPrimitive(java.lang.String arg0,
                         java.lang.String arg1,
                         java.lang.String arg2)

MockSoapPrimitive

public MockSoapPrimitive(java.lang.String arg0,
                         java.lang.String arg1,
                         java.lang.String arg2,
                         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.

getName

public java.lang.String getName()
Overrides:
getName in class org.ksoap2.serialization.SoapPrimitive

getNamespace

public java.lang.String getNamespace()
Overrides:
getNamespace in class org.ksoap2.serialization.SoapPrimitive