|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.admin.resources.representation.share.AbstractRepresentationRenderer<T> de.smartics.properties.admin.resources.representation.html.share.AbstractHtmlRepresentationRenderer<T>
T
- the type of the resource the renderer is rendering representations for.
public abstract class AbstractHtmlRepresentationRenderer<T>
Base implementation for HTML documents.
Field Summary | |
---|---|
protected de.smartics.html5.jatl.HtmlFactory |
factory The factory to access output properties. |
protected de.smartics.html5.jatl.Html |
html The HTML instance to create HTML documents. |
protected de.smartics.html5.jatl.HtmlResourceContext |
htmlContext The context information to render the representation. |
protected HtmlPathHelper |
pathHelper Helper to localize application specific resources. |
Fields inherited from class de.smartics.properties.admin.resources.representation.share.AbstractRepresentationRenderer |
---|
breadcrumb, characterEncoding, entityStream, htmlUtils, linkDescriptorFactory |
Constructor Summary | |
---|---|
protected |
AbstractHtmlRepresentationRenderer(de.smartics.html5.jatl.HtmlResourceContext htmlContext, OutputStream entityStream) Default constructor using a stream. |
Method Summary | |
---|---|
protected abstract void |
bodyContents() The contents to write to the HTML body. |
protected abstract List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
breadcrumbLinks() Returns the breadcrumbs. |
protected void |
close() Releases any resources held by the renderer. |
protected abstract String |
getTitle() Returns the title to the page. |
protected void |
httpBody() Redners the HTTP body. |
protected void |
renderPageTitle(String subTitle) Renders the subtitle within the page body. |
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 |
Field Detail |
---|
protected final de.smartics.html5.jatl.HtmlResourceContext htmlContext
protected final de.smartics.html5.jatl.HtmlFactory factory
protected final de.smartics.html5.jatl.Html html
protected final HtmlPathHelper pathHelper
Constructor Detail |
---|
protected AbstractHtmlRepresentationRenderer(de.smartics.html5.jatl.HtmlResourceContext htmlContext, OutputStream entityStream)
htmlContext
- the context information to render the representation.
entityStream
- the stream to write to.
Method Detail |
---|
protected final void httpBody()
AbstractRepresentationRenderer
httpBody
in class
AbstractRepresentationRenderer<T>
protected abstract String getTitle()
protected void renderPageTitle(String subTitle)
subTitle
- the optional sub title to render.
protected abstract List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> breadcrumbLinks()
protected abstract void bodyContents()
protected final void close()
AbstractRepresentationRenderer
close
in class
AbstractRepresentationRenderer<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |