Class SoapGsonResultElementFactory
java.lang.Object
com.sap.cloud.sdk.result.GsonResultElementFactory
com.sap.cloud.sdk.s4hana.connectivity.rfc.SoapGsonResultElementFactory
- All Implemented Interfaces:
ResultElementFactory<com.google.gson.JsonElement>
Deprecated.
This module will be discontinued, along with its classes and methods.
Factory implementation that creates a
ResultElement
, based on a given JsonElement
.-
Field Summary
Fields inherited from class com.sap.cloud.sdk.result.GsonResultElementFactory
gsonBuilder
-
Constructor Summary
ConstructorDescriptionSoapGsonResultElementFactory
(com.google.gson.GsonBuilder gsonBuilder) Deprecated.Creates a new instance ofSoapGsonResultElementFactory
. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.boolean
Deprecated.int
hashCode()
Deprecated.protected ResultPrimitive
newPrimitive
(com.google.gson.JsonElement resultElement) Deprecated.Returns aResultPrimitive
from the givenresultElement
.toString()
Deprecated.Methods inherited from class com.sap.cloud.sdk.result.GsonResultElementFactory
create, getGsonBuilder, newCollection, newObject
-
Constructor Details
-
SoapGsonResultElementFactory
public SoapGsonResultElementFactory(@Nonnull com.google.gson.GsonBuilder gsonBuilder) Deprecated.Creates a new instance ofSoapGsonResultElementFactory
.- Parameters:
gsonBuilder
- TheGsonBuilder
to be used for creating theResultElement
.
-
-
Method Details
-
newPrimitive
Deprecated.Description copied from class:GsonResultElementFactory
Returns aResultPrimitive
from the givenresultElement
.- Overrides:
newPrimitive
in classGsonResultElementFactory
- Parameters:
resultElement
- TheJsonElement
to be converted.- Returns:
- The
ResultPrimitive
instance.
-
equals
Deprecated.- Overrides:
equals
in classGsonResultElementFactory
-
canEqual
Deprecated.- Overrides:
canEqual
in classGsonResultElementFactory
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in classGsonResultElementFactory
-
toString
Deprecated.- Overrides:
toString
in classGsonResultElementFactory
-