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