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

Package class diagram package PropertyDescriptorXmlRepresentationRenderer
java.lang.Object
  extended by de.smartics.properties.admin.resources.representation.share.AbstractRepresentationRenderer<T>
      extended by de.smartics.properties.admin.resources.representation.xml.share.AbstractXmlRepresentationRenderer<de.smartics.properties.api.core.domain.PropertyDescriptor>
          extended by de.smartics.properties.admin.resources.representation.xml.PropertyDescriptorXmlRepresentationRenderer
All Implemented Interfaces:
de.smartics.resteasy.hypermedia.renderer.RepresentationRenderer<de.smartics.properties.api.core.domain.PropertyDescriptor>

public final class PropertyDescriptorXmlRepresentationRenderer
     
     
extends AbstractXmlRepresentationRenderer<de.smartics.properties.api.core.domain.PropertyDescriptor>

Displays a selected property descriptor as SDoc XML.


Field Summary
 
Fields inherited from class de.smartics.properties.admin.resources.representation.xml.share.AbstractXmlRepresentationRenderer
context, htmlUtils
 
Fields inherited from class de.smartics.properties.admin.resources.representation.share.AbstractRepresentationRenderer
breadcrumb, characterEncoding, entityStream, linkDescriptorFactory, pathHelper
 
Constructor Summary
PropertyDescriptorXmlRepresentationRenderer(de.smartics.resteasy.hypermedia.renderer.ResourceContext context, de.smartics.properties.api.core.domain.PropertyDescriptor domainObject, OutputStream entityStream)
          Default constructor.
 
Method Summary
protected  void close()
          Releases any resources held by the renderer.
protected  void httpBody()
          Redners the HTTP body.
protected  List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> hyperLinks()
          Returns the hyperlinks to attach to the HTTP headers.
 
Methods inherited from class de.smartics.properties.admin.resources.representation.xml.share.AbstractXmlRepresentationRenderer
renderAdditionalHttpHeader
 
Methods inherited from class de.smartics.properties.admin.resources.representation.share.AbstractRepresentationRenderer
render, renderHttpHeaderLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDescriptorXmlRepresentationRenderer

public PropertyDescriptorXmlRepresentationRenderer(de.smartics.resteasy.hypermedia.renderer.ResourceContext context,
                                                   de.smartics.properties.api.core.domain.PropertyDescriptor domainObject,
                                                   OutputStream entityStream)
Default constructor.

Parameters:
context - the context information to render the representation.
domainObject - the domain object to render.
entityStream - the stream to write to.
Method Detail

httpBody

protected void httpBody()
Description copied from class: AbstractRepresentationRenderer
Redners the HTTP body.

Specified by:
httpBody in class AbstractRepresentationRenderer<de.smartics.properties.api.core.domain.PropertyDescriptor>

hyperLinks

protected List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> hyperLinks()
Description copied from class: AbstractXmlRepresentationRenderer
Returns the hyperlinks to attach to the HTTP headers.

Specified by:
hyperLinks in class AbstractXmlRepresentationRenderer<de.smartics.properties.api.core.domain.PropertyDescriptor>
Returns:
the hyperlinks to attach to the HTTP headers.

close

protected void close()
Description copied from class: AbstractRepresentationRenderer
Releases any resources held by the renderer.

Specified by:
close in class AbstractRepresentationRenderer<de.smartics.properties.api.core.domain.PropertyDescriptor>


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