de.smartics.properties.admin.resources.representation.xml
Class PropertyXmlRepresentationBodyWriter

Package class diagram package PropertyXmlRepresentationBodyWriter
java.lang.Object
  extended by de.smartics.resteasy.hypermedia.renderer.AbstractRepresentationBodyWriter<ConfigurationProperty>
      extended by de.smartics.properties.admin.resources.representation.xml.PropertyXmlRepresentationBodyWriter
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter< ConfigurationProperty>

@Provider
@Consumes(value={"text/xml","application/xml"})
public class PropertyXmlRepresentationBodyWriter
     
     
extends de.smartics.resteasy.hypermedia.renderer.AbstractRepresentationBodyWriter< ConfigurationProperty>

Maps domain objects of type ConfigurationProperty to their SDoc XML representation builders.


Constructor Summary
PropertyXmlRepresentationBodyWriter()
           
 
Method Summary
protected  de.smartics.resteasy.hypermedia.renderer.RepresentationRenderer<ConfigurationProperty> create(de.smartics.resteasy.hypermedia.renderer.ResourceContext context, ConfigurationProperty 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
 

Constructor Detail

PropertyXmlRepresentationBodyWriter

public PropertyXmlRepresentationBodyWriter()
Method Detail

getI18nProvider

public de.smartics.resteasy.hypermedia.renderer.I18nProvider getI18nProvider()
Specified by:
getI18nProvider in class de.smartics.resteasy.hypermedia.renderer.AbstractRepresentationBodyWriter<ConfigurationProperty>

isWriteable

public boolean isWriteable(Class<?> type,
                           Type genericType,
                           Annotation[] annotations,
                           javax.ws.rs.core.MediaType mediaType)

create

protected de.smartics.resteasy.hypermedia.renderer.RepresentationRenderer<ConfigurationProperty> create(de.smartics.resteasy.hypermedia.renderer.ResourceContext context,
                                                                                                        ConfigurationProperty domainObject,
                                                                                                        OutputStream entityStream)
Specified by:
create in class de.smartics.resteasy.hypermedia.renderer.AbstractRepresentationBodyWriter<ConfigurationProperty>


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.