Class QNameSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<QName>
-
- com.evolveum.midpoint.prism.impl.lex.json.writer.QNameSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class QNameSerializer extends com.fasterxml.jackson.databind.JsonSerializer<QName>
-
-
Constructor Summary
Constructors Constructor Description QNameSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(QName value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
void
serializeWithType(QName value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
-
-
-
Method Detail
-
serialize
public void serialize(QName value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<QName>
- Throws:
IOException
-
serializeWithType
public void serializeWithType(QName value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException
- Overrides:
serializeWithType
in classcom.fasterxml.jackson.databind.JsonSerializer<QName>
- Throws:
IOException
-
-