com.fasterxml.jackson.module.jaxb.ser
Class DomElementJsonSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<Element>
com.fasterxml.jackson.module.jaxb.ser.DomElementJsonSerializer
- All Implemented Interfaces:
- com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware
public class DomElementJsonSerializer
- extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Element>
- Author:
- Ryan Heaton
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer |
com.fasterxml.jackson.databind.JsonSerializer.None |
Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer |
_handledType |
Method Summary |
com.fasterxml.jackson.databind.JsonNode |
getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
Type typeHint)
|
void |
serialize(Element value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
|
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer |
acceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow |
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer |
getDelegatee, isEmpty, isUnwrappingSerializer, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomElementJsonSerializer
public DomElementJsonSerializer()
serialize
public void serialize(Element value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
- Specified by:
serialize
in class com.fasterxml.jackson.databind.ser.std.StdSerializer<Element>
- Throws:
IOException
com.fasterxml.jackson.core.JsonGenerationException
getSchema
public com.fasterxml.jackson.databind.JsonNode getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
Type typeHint)
throws com.fasterxml.jackson.databind.JsonMappingException
- Specified by:
getSchema
in interface com.fasterxml.jackson.databind.jsonschema.SchemaAware
- Overrides:
getSchema
in class com.fasterxml.jackson.databind.ser.std.StdSerializer<Element>
- Throws:
com.fasterxml.jackson.databind.JsonMappingException
Copyright © 2012 FasterXML. All Rights Reserved.