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

Package class diagram package PropertyHtmlRepresentationRenderer
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<ConfigurationProperty>
          extended by de.smartics.properties.admin.resources.representation.html.PropertyHtmlRepresentationRenderer
All Implemented Interfaces:
de.smartics.resteasy.hypermedia.renderer.RepresentationRenderer< ConfigurationProperty>

public final class PropertyHtmlRepresentationRenderer
     
     
extends AbstractHtmlRepresentationRenderer< ConfigurationProperty>

Displays a single property 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
PropertyHtmlRepresentationRenderer(de.smartics.html5.jatl.HtmlResourceContext htmlContext, ConfigurationProperty 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

PropertyHtmlRepresentationRenderer

public PropertyHtmlRepresentationRenderer(de.smartics.html5.jatl.HtmlResourceContext htmlContext,
                                          ConfigurationProperty 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<ConfigurationProperty>
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<ConfigurationProperty>

breadcrumbLinks

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

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


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