Package overit.geocall.model.format
Interface DocumentFormat
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
JsonFormat,XmlFormat
This is an onterface for mapping documents
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the classdefault ObjectMapperCreates a new mappernewMapper(boolean nullValues) Creates a new mapper
-
Method Details
-
newMapper
Creates a new mapper- Returns:
- A new
ObjectMapper
-
newMapper
Creates a new mapper- Parameters:
nullValues- boolean value indicatind if null value should be kept- Returns:
- A new
ObjectMapper
-
getRootName4
Returns the name of the class- Parameters:
o- The object to get the root name- Returns:
- The name of the class
-