Class XmlMapWriter
- java.lang.Object
-
- com.tangosol.coherence.rest.providers.XmlMapWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected MarshallerRegistry
m_marshallerRegistry
Marshaller registry to obtain element marshallers from.
-
Constructor Summary
Constructors Constructor Description XmlMapWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getSize(Map map, Class<?> aClass, Type type, Annotation[] aAnnotations, javax.ws.rs.core.MediaType mediaType)
boolean
isWriteable(Class<?> clz, Type type, Annotation[] aAnnotations, javax.ws.rs.core.MediaType mediaType)
void
writeTo(Map map, Class<?> clz, Type type, Annotation[] aAnnotation, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream stream)
-
-
-
Field Detail
-
m_marshallerRegistry
@Inject protected MarshallerRegistry m_marshallerRegistry
Marshaller registry to obtain element marshallers from.
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> clz, Type type, Annotation[] aAnnotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interfacejavax.ws.rs.ext.MessageBodyWriter<Map>
-
getSize
public long getSize(Map map, Class<?> aClass, Type type, Annotation[] aAnnotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
getSize
in interfacejavax.ws.rs.ext.MessageBodyWriter<Map>
-
writeTo
public void writeTo(Map map, Class<?> clz, Type type, Annotation[] aAnnotation, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream stream) throws IOException, javax.ws.rs.WebApplicationException
- Specified by:
writeTo
in interfacejavax.ws.rs.ext.MessageBodyWriter<Map>
- Throws:
IOException
javax.ws.rs.WebApplicationException
-
-