de.smartics.properties.admin.resources.representation.xml
Class PropertyDescriptorXmlRepresentationBodyWriter
java.lang.Object
de.smartics.resteasy.hypermedia.renderer.AbstractRepresentationBodyWriter<de.smartics.properties.api.core.domain.PropertyDescriptor>
de.smartics.properties.admin.resources.representation.xml.PropertyDescriptorXmlRepresentationBodyWriter
-
All Implemented Interfaces:
-
javax.ws.rs.ext.MessageBodyWriter<de.smartics.properties.api.core.domain.PropertyDescriptor>
-
@Provider
@Consumes(value={"text/xml","application/xml"})
public class PropertyDescriptorXmlRepresentationBodyWriter
-
extends de.smartics.resteasy.hypermedia.renderer.AbstractRepresentationBodyWriter<de.smartics.properties.api.core.domain.PropertyDescriptor>
Maps domain objects of type PropertyDescriptor
to their SDoc XML representation builders.
Method Summary |
protected de.smartics.resteasy.hypermedia.renderer.RepresentationRenderer<de.smartics.properties.api.core.domain.PropertyDescriptor> |
create(de.smartics.resteasy.hypermedia.renderer.ResourceContext context, de.smartics.properties.api.core.domain.PropertyDescriptor domainObject, OutputStream entityStream) |
de.smartics.resteasy.hypermedia.renderer.I18nProvider |
getI18nProvider() |
boolean |
isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) |
Methods inherited from class de.smartics.resteasy.hypermedia.renderer.AbstractRepresentationBodyWriter |
getSize, writeTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyDescriptorXmlRepresentationBodyWriter
public PropertyDescriptorXmlRepresentationBodyWriter()
getI18nProvider
public de.smartics.resteasy.hypermedia.renderer.I18nProvider getI18nProvider()
-
-
Specified by:
-
getI18nProvider
in class
de.smartics.resteasy.hypermedia.renderer.AbstractRepresentationBodyWriter<de.smartics.properties.api.core.domain.PropertyDescriptor>
-
isWriteable
public boolean isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
-
create
protected de.smartics.resteasy.hypermedia.renderer.RepresentationRenderer<de.smartics.properties.api.core.domain.PropertyDescriptor> create(de.smartics.resteasy.hypermedia.renderer.ResourceContext context,
de.smartics.properties.api.core.domain.PropertyDescriptor domainObject,
OutputStream entityStream)
-
-
Specified by:
-
create
in class
de.smartics.resteasy.hypermedia.renderer.AbstractRepresentationBodyWriter<de.smartics.properties.api.core.domain.PropertyDescriptor>
-
Copyright © 2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.