Class JacksonXml.JacksonXml4All
java.lang.Object
de.iip_ecosphere.platform.support.xml.Xml
de.oktoflow.platform.support.json.jackson.JacksonXml
de.oktoflow.platform.support.json.jackson.JacksonXml.JacksonXml4All
- Enclosing class:
JacksonXml
Self-configuring Json implementation based on provided types.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> Class<T> Configures this instance forcls.private ObjectConfigures this instance for the class ofobj.<T> T<T> Tbyte[]writeValueAsBytes(Object value) writeValueAsString(Object value) Methods inherited from class de.oktoflow.platform.support.json.jackson.JacksonXml
configureFor, createInstanceImpl, defineFields, defineOptionals, exceptFields, failOnUnknownProperties, handleIipDataClassesMethods inherited from class de.iip_ecosphere.platform.support.xml.Xml
createInstance, createInstance, createInstance, createInstance4All, readValueDflt, readValueDflt, setPrototype, writeValueAsBytesDflt, writeValueAsStringDflt
-
Field Details
-
configured
-
-
Constructor Details
-
JacksonXml4All
private JacksonXml4All()
-
-
Method Details
-
cfg
Configures this instance forcls.- Type Parameters:
T- the actual type- Parameters:
cls- the class to configure for- Returns:
- cls
-
cfg
Configures this instance for the class ofobj.- Parameters:
obj- the object to configure for, ignored if null- Returns:
- obj
-
readValue
- Overrides:
readValuein classJacksonXml- Throws:
IOException
-
readValue
- Overrides:
readValuein classJacksonXml- Throws:
IOException
-
writeValueAsBytes
- Overrides:
writeValueAsBytesin classJacksonXml- Throws:
IOException
-
writeValueAsString
- Overrides:
writeValueAsStringin classJacksonXml- Throws:
IOException
-