Package overit.geocall.model.format
Class XmlFormat
java.lang.Object
overit.geocall.model.format.JsonFormat
overit.geocall.model.format.XmlFormat
- All Implemented Interfaces:
Serializable,DocumentFormat
XmlFormat is a mapper for Xml
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitMapper(ObjectMapper om, boolean nullValues) newMapper(boolean nullValues) Creates a new mapperMethods inherited from class overit.geocall.model.format.JsonFormat
getRootName4Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.model.format.DocumentFormat
newMapper
-
Constructor Details
-
XmlFormat
public XmlFormat(boolean declaration) Creates a new XmlFormat- Parameters:
declaration- Boolean value indicating if decalaration is abilitated
-
-
Method Details
-
newMapper
Description copied from interface:DocumentFormatCreates a new mapper- Specified by:
newMapperin interfaceDocumentFormat- Overrides:
newMapperin classJsonFormat- Parameters:
nullValues- boolean value indicatind if null value should be kept- Returns:
- A new
ObjectMapper
-
initMapper
- Overrides:
initMapperin classJsonFormat
-