Class URITypeSerializer
- java.lang.Object
-
- org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer<URI>
-
- org.eclipse.yasson.internal.serializer.URITypeSerializer
-
- All Implemented Interfaces:
javax.json.bind.serializer.JsonbSerializer<URI>
public class URITypeSerializer extends AbstractValueTypeSerializer<URI>
Serializer forURI
type.- Author:
- David Kral
-
-
Field Summary
-
Fields inherited from class org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer
customization
-
-
Constructor Summary
Constructors Constructor Description URITypeSerializer(Customization customization)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
serialize(URI obj, javax.json.stream.JsonGenerator generator, Marshaller marshaller)
-
Methods inherited from class org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer
serialize
-
-
-
-
Constructor Detail
-
URITypeSerializer
public URITypeSerializer(Customization customization)
Creates a new instance.- Parameters:
customization
- Model customization.
-
-
Method Detail
-
serialize
protected void serialize(URI obj, javax.json.stream.JsonGenerator generator, Marshaller marshaller)
- Specified by:
serialize
in classAbstractValueTypeSerializer<URI>
-
-