de.smartics.properties.admin.resources.representation.xml
Class PropertyKeysXmlRepresentationRenderer
java.lang.Object
de.smartics.properties.admin.resources.representation.share.AbstractRepresentationRenderer<T>
de.smartics.properties.admin.resources.representation.xml.share.AbstractXmlRepresentationRenderer<PropertiesConfiguration>
de.smartics.properties.admin.resources.representation.xml.PropertyKeysXmlRepresentationRenderer
-
All Implemented Interfaces:
-
de.smartics.resteasy.hypermedia.renderer.RepresentationRenderer<
PropertiesConfiguration>
-
public final class PropertyKeysXmlRepresentationRenderer
-
extends
AbstractXmlRepresentationRenderer<
PropertiesConfiguration>
Displays a single property in an XML page.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyKeysXmlRepresentationRenderer
public PropertyKeysXmlRepresentationRenderer(de.smartics.resteasy.hypermedia.renderer.ResourceContext context,
PropertiesConfiguration 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.
httpBody
protected void httpBody()
throws IllegalStateException
-
Description copied from class:
AbstractRepresentationRenderer
-
Redners the HTTP body.
-
-
Specified by:
-
httpBody
in class
AbstractRepresentationRenderer<PropertiesConfiguration>
-
-
Throws:
-
IllegalStateException
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<PropertiesConfiguration>
-
-
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<PropertiesConfiguration>
-
Copyright © 2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.