-
-
-
Constructor Summary
Constructors
-
Method Summary
void
Default implementation specifies no format.
void
Method that can be called to ask implementation to serialize
values of type this serializer handles.
_neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
DOMSerializer
public DOMSerializer()
-
Method Details
-
serialize
public void serialize(Node value,
tools.jackson.core.JsonGenerator g,
SerializationContext provider)
throws tools.jackson.core.JacksonException
Method that can be called to ask implementation to serialize
values of type this serializer handles.
- Specified by:
serialize
in class StdSerializer<Node>
- Parameters:
value
- Value to serialize; can not be null.
g
- Generator used to output resulting Json content
provider
- Context that can be used to get serializers for
serializing Objects value contains, if any.
- Throws:
tools.jackson.core.JacksonException
-