de.smartics.properties.admin.resources.representation.html
Class PropertyDescriptorsHtmlRepresentationRenderer

Package class diagram package PropertyDescriptorsHtmlRepresentationRenderer
java.lang.Object
  extended by de.smartics.properties.admin.resources.representation.share.AbstractRepresentationRenderer<T>
      extended by de.smartics.properties.admin.resources.representation.html.share.AbstractHtmlRepresentationRenderer<PropertyDescriptors>
          extended by de.smartics.properties.admin.resources.representation.html.PropertyDescriptorsHtmlRepresentationRenderer
All Implemented Interfaces:
de.smartics.resteasy.hypermedia.renderer.RepresentationRenderer< PropertyDescriptors>

public final class PropertyDescriptorsHtmlRepresentationRenderer
     
     
extends AbstractHtmlRepresentationRenderer< PropertyDescriptors>

Displays the list of property descriptors belonging to a selected configuration in an HTML page.


Field Summary
 
Fields inherited from class de.smartics.properties.admin.resources.representation.html.share.AbstractHtmlRepresentationRenderer
factory, html, htmlContext, pathHelper
 
Fields inherited from class de.smartics.properties.admin.resources.representation.share.AbstractRepresentationRenderer
breadcrumb, characterEncoding, entityStream, htmlUtils, linkDescriptorFactory
 
Constructor Summary
PropertyDescriptorsHtmlRepresentationRenderer(de.smartics.html5.jatl.HtmlResourceContext htmlContext, PropertyDescriptors domainObject, OutputStream entityStream)
          Default constructor.
 
Method Summary
protected  void bodyContents()
          The contents to write to the HTML body.
protected  List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> breadcrumbLinks()
          Returns the breadcrumbs.
protected  String getTitle()
          Returns the title to the page.
 
Methods inherited from class de.smartics.properties.admin.resources.representation.html.share.AbstractHtmlRepresentationRenderer
close, httpBody, renderPageTitle
 
Methods inherited from class de.smartics.properties.admin.resources.representation.share.AbstractRepresentationRenderer
render, renderAdditionalHttpHeader, renderHttpHeaderLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDescriptorsHtmlRepresentationRenderer

public PropertyDescriptorsHtmlRepresentationRenderer(de.smartics.html5.jatl.HtmlResourceContext htmlContext,
                                                     PropertyDescriptors domainObject,
                                                     OutputStream entityStream)
Default constructor.

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

getTitle

protected String getTitle()
Description copied from class: AbstractHtmlRepresentationRenderer
Returns the title to the page.

Specified by:
getTitle in class AbstractHtmlRepresentationRenderer<PropertyDescriptors>
Returns:
the title to the page.

bodyContents

protected void bodyContents()
Description copied from class: AbstractHtmlRepresentationRenderer
The contents to write to the HTML body.

Specified by:
bodyContents in class AbstractHtmlRepresentationRenderer<PropertyDescriptors>

breadcrumbLinks

protected List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> breadcrumbLinks()
Description copied from class: AbstractHtmlRepresentationRenderer
Returns the breadcrumbs.

Specified by:
breadcrumbLinks in class AbstractHtmlRepresentationRenderer<PropertyDescriptors>
Returns:
the list of breadcrumb links.


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