com.fasterxml.jackson.module.jaxb.ser
Class DomElementJsonSerializer

java.lang.Object
  extended by com.fasterxml.jackson.databind.JsonSerializer<T>
      extended by com.fasterxml.jackson.databind.ser.std.StdSerializer<Element>
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
 
Field Summary
 
Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType
 
Constructor Summary
DomElementJsonSerializer()
           
 
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
 

Constructor Detail

DomElementJsonSerializer

public DomElementJsonSerializer()
Method Detail

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.