Interface DocumentFormat

All Superinterfaces:
Serializable
All Known Implementing Classes:
JsonFormat, XmlFormat

public interface DocumentFormat extends Serializable
This is an onterface for mapping documents
  • Method Details

    • newMapper

      default ObjectMapper newMapper()
      Creates a new mapper
      Returns:
      A new ObjectMapper
    • newMapper

      ObjectMapper newMapper(boolean nullValues)
      Creates a new mapper
      Parameters:
      nullValues - boolean value indicatind if null value should be kept
      Returns:
      A new ObjectMapper
    • getRootName4

      String getRootName4(Object o)
      Returns the name of the class
      Parameters:
      o - The object to get the root name
      Returns:
      The name of the class