public class BlacklistXmlSerializer
extends java.lang.Object
Constructor and Description |
---|
BlacklistXmlSerializer() |
Modifier and Type | Method and Description |
---|---|
static Blacklist |
deserialize(Element blacklist) |
long |
getSize(Blacklist t,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType) |
boolean |
isReadable(java.lang.Class<?> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
MediaType mt) |
boolean |
isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
MediaType mt) |
Blacklist |
readFrom(java.lang.Class<Blacklist> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
MediaType mt,
<any> mm,
java.io.InputStream in) |
static Element |
serialize(Blacklist blacklist) |
void |
writeTo(Blacklist t,
java.lang.Class<?> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
MediaType mt,
<any> mm,
java.io.OutputStream out) |
public boolean isReadable(java.lang.Class<?> type, java.lang.reflect.Type type1, java.lang.annotation.Annotation[] antns, MediaType mt)
public Blacklist readFrom(java.lang.Class<Blacklist> type, java.lang.reflect.Type type1, java.lang.annotation.Annotation[] antns, MediaType mt, <any> mm, java.io.InputStream in) throws java.io.IOException, WebApplicationException
java.io.IOException
WebApplicationException
public static Blacklist deserialize(Element blacklist)
public boolean isWriteable(java.lang.Class<?> type, java.lang.reflect.Type type1, java.lang.annotation.Annotation[] antns, MediaType mt)
public void writeTo(Blacklist t, java.lang.Class<?> type, java.lang.reflect.Type type1, java.lang.annotation.Annotation[] antns, MediaType mt, <any> mm, java.io.OutputStream out) throws java.io.IOException, WebApplicationException
java.io.IOException
WebApplicationException
public static Element serialize(Blacklist blacklist)
public long getSize(Blacklist t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
Copyright © 2017. All Rights Reserved.