Deprecated
as a consequence of StdSerializer being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| protected final TransformerFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType
Type of element (entity like property) being visited typeHint)Overrides com. Implements com. |
| public JsonNode | getSchema(SerializerProvider
The serializer provider. provider, Type A hint about the type. typeHint)Overrides com. Implements com.
Deprecated
Since 2.15
Default implementation simply claims type is "string"; usually
overriden by custom serializers.
|
| public void | serialize(Node
Value to serialize; can not be null. value, JsonGenerator Generator used to output resulting Json content g, SerializerProvider Provider that can be used to get serializers for
serializing Objects value contains, if any. provider)Implements abstract com. |
| private static void | setTransformerFactoryAttribute(final TransformerFactory transformerFactory, final String name, final Object value)
|
| transformerFactory | back to summary |
|---|---|
| protected final TransformerFactory transformerFactory | |
| DOMSerializer | back to summary |
|---|---|
| public DOMSerializer() | |
| acceptJsonFormatVisitor | back to summary |
|---|---|
| public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws JsonMappingException Overrides com. Implements com. Doc from com. Default implementation specifies no format. This behavior is usually overriden by custom serializers.
| |
| getSchema | back to summary |
|---|---|
| public JsonNode getSchema(SerializerProvider provider, Type typeHint) Overrides com. Implements com. Doc from com. Deprecated Since 2.15 Default implementation simply claims type is "string"; usually overriden by custom serializers.
| |
| serialize | back to summary |
|---|---|
| public void serialize(Node value, JsonGenerator g, SerializerProvider provider) throws IOException Implements abstract com. Doc from com. Method that can be called to ask implementation to serialize values of type this serializer handles.
| |
| setTransformerFactoryAttribute | back to summary |
|---|---|
| private static void setTransformerFactoryAttribute(final TransformerFactory transformerFactory, final String name, final Object value) | |