com.gentics.contentnode.rest.model.response
Class PageRenderResponse

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.GenericResponse
      extended by com.gentics.contentnode.rest.model.response.PageRenderResponse

public class PageRenderResponse
extends GenericResponse

Response for request to render a page


Nested Class Summary
static class PageRenderResponse.Editable
          Class for instances of editables
static class PageRenderResponse.MetaEditable
          Class for instances of meta editables
static class PageRenderResponse.Tag
          Class for instances of tags
 
Field Summary
protected  java.lang.String content
          Rendered content
protected  java.util.List<PageRenderResponse.MetaEditable> metaeditables
          List of meta editables found in the rendered page
protected  java.util.Map<java.lang.String,java.lang.String> properties
          Map of properties
protected  java.util.List<PageRenderResponse.Tag> tags
          List of tags found in the rendered page
 
Constructor Summary
PageRenderResponse()
          Create an instance
PageRenderResponse(Message message, ResponseInfo responseInfo)
          Create an instance with a message and response info
 
Method Summary
 java.lang.String getContent()
          Get the content
 java.util.List<PageRenderResponse.MetaEditable> getMetaeditables()
          Get the meta editables
 java.util.Map<java.lang.String,java.lang.String> getProperties()
          Get the properties
 java.util.List<PageRenderResponse.Tag> getTags()
          Get the tags
 void setContent(java.lang.String content)
          Set the content
 void setMetaeditables(java.util.List<PageRenderResponse.MetaEditable> metaeditables)
          Set the meta editables
 void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
          Set the properties
 void setTags(java.util.List<PageRenderResponse.Tag> tags)
          Set the tags
 
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected java.lang.String content
Rendered content


properties

protected java.util.Map<java.lang.String,java.lang.String> properties
Map of properties


tags

protected java.util.List<PageRenderResponse.Tag> tags
List of tags found in the rendered page


metaeditables

protected java.util.List<PageRenderResponse.MetaEditable> metaeditables
List of meta editables found in the rendered page

Constructor Detail

PageRenderResponse

public PageRenderResponse()
Create an instance


PageRenderResponse

public PageRenderResponse(Message message,
                          ResponseInfo responseInfo)
Create an instance with a message and response info

Parameters:
message - message
responseInfo - response info
Method Detail

getContent

public java.lang.String getContent()
Get the content

Returns:
content

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()
Get the properties

Returns:
properties

getTags

public java.util.List<PageRenderResponse.Tag> getTags()
Get the tags

Returns:
tags

getMetaeditables

public java.util.List<PageRenderResponse.MetaEditable> getMetaeditables()
Get the meta editables

Returns:
meta editables

setContent

public void setContent(java.lang.String content)
Set the content

Parameters:
content - content

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Set the properties

Parameters:
properties - properties

setTags

public void setTags(java.util.List<PageRenderResponse.Tag> tags)
Set the tags

Parameters:
tags - tags

setMetaeditables

public void setMetaeditables(java.util.List<PageRenderResponse.MetaEditable> metaeditables)
Set the meta editables

Parameters:
metaeditables - meta editables


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.