public class ContactFiltersXmlSerializer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML_CONTACT_FILTER |
static java.lang.String |
XML_CONTACT_FILTERS |
Constructor and Description |
---|
ContactFiltersXmlSerializer() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ContactFilter> |
deserialize(Element filters)
Deserialize a list of filters
|
long |
getSize(java.util.List<ContactFilter> 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 genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(java.lang.Class type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType) |
java.util.List<ContactFilter> |
readFrom(java.lang.Class<java.util.List<ContactFilter>> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
java.io.InputStream entityStream) |
static Element |
serialize(java.util.List<ContactFilter> filters)
Serialize a list of filters
|
void |
writeTo(java.util.List<ContactFilter> t,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
java.io.OutputStream entityStream) |
public static final java.lang.String XML_CONTACT_FILTER
public static final java.lang.String XML_CONTACT_FILTERS
public boolean isReadable(java.lang.Class type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
public java.util.List<ContactFilter> readFrom(java.lang.Class<java.util.List<ContactFilter>> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType, <any> httpHeaders, java.io.InputStream entityStream) throws java.io.IOException, WebApplicationException
java.io.IOException
WebApplicationException
public boolean isWriteable(java.lang.Class type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
public void writeTo(java.util.List<ContactFilter> t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType, <any> httpHeaders, java.io.OutputStream entityStream) throws java.io.IOException, WebApplicationException
java.io.IOException
WebApplicationException
public static java.util.List<ContactFilter> deserialize(Element filters) throws java.lang.Exception
filters
- java.lang.Exception
public static Element serialize(java.util.List<ContactFilter> filters) throws java.lang.Exception
filters
- java.lang.Exception
public long getSize(java.util.List<ContactFilter> t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
Copyright © 2017. All Rights Reserved.