Package org.mycore.restapi.converter
Class MCRContentXMLWriter
java.lang.Object
org.mycore.restapi.converter.MCRContentAbstractWriter
org.mycore.restapi.converter.MCRContentXMLWriter
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<MCRContent>
@Provider
@Produces({"application/xml","text/xml;charset=UTF-8"})
public class MCRContentXMLWriter
extends MCRContentAbstractWriter
-
Field Summary
Fields inherited from class org.mycore.restapi.converter.MCRContentAbstractWriter
PARAM_OBJECTTYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.MediaType
protected void
handleFallback
(MCRContent content, OutputStream entityStream) Methods inherited from class org.mycore.restapi.converter.MCRContentAbstractWriter
isWriteable, writeTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
getSize
-
Constructor Details
-
MCRContentXMLWriter
public MCRContentXMLWriter()
-
-
Method Details
-
getTransfomerFormat
protected jakarta.ws.rs.core.MediaType getTransfomerFormat()- Specified by:
getTransfomerFormat
in classMCRContentAbstractWriter
-
handleFallback
- Specified by:
handleFallback
in classMCRContentAbstractWriter
- Throws:
IOException
-