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

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.PageRenderResponse.Tag
Enclosing class:
PageRenderResponse

public static class PageRenderResponse.Tag
extends java.lang.Object

Class for instances of tags


Field Summary
protected  java.util.List<PageRenderResponse.Editable> editables
          List of editables (if the tag contains any)
protected  java.lang.String element
          ID of the DOM element of the tag
protected  boolean onlyeditables
          True if the tag only contains editables, false if not
protected  java.lang.String tagname
          Tagname
 
Constructor Summary
PageRenderResponse.Tag()
          Empty constructor
PageRenderResponse.Tag(java.lang.String element, java.lang.String tagname)
          Create an instance of the tag
 
Method Summary
 java.util.List<PageRenderResponse.Editable> getEditables()
           
 java.lang.String getElement()
           
 java.lang.String getTagname()
           
 boolean isOnlyeditables()
           
 void setEditables(java.util.List<PageRenderResponse.Editable> editables)
           
 void setElement(java.lang.String element)
           
 void setOnlyeditables(boolean onlyeditables)
          Set whether the tag only contains editables
 void setTagname(java.lang.String tagname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

protected java.lang.String element
ID of the DOM element of the tag


tagname

protected java.lang.String tagname
Tagname


onlyeditables

protected boolean onlyeditables
True if the tag only contains editables, false if not


editables

protected java.util.List<PageRenderResponse.Editable> editables
List of editables (if the tag contains any)

Constructor Detail

PageRenderResponse.Tag

public PageRenderResponse.Tag()
Empty constructor


PageRenderResponse.Tag

public PageRenderResponse.Tag(java.lang.String element,
                              java.lang.String tagname)
Create an instance of the tag

Parameters:
element - element id
tagname - tagname
Method Detail

getElement

public java.lang.String getElement()
Returns:
the element

setElement

public void setElement(java.lang.String element)
Parameters:
element - the element to set

getTagname

public java.lang.String getTagname()
Returns:
the tagname

isOnlyeditables

public boolean isOnlyeditables()
Returns:
true if the tag only contains editables, false if not

setTagname

public void setTagname(java.lang.String tagname)
Parameters:
tagname - the tagname to set

getEditables

public java.util.List<PageRenderResponse.Editable> getEditables()
Returns:
the editables

setEditables

public void setEditables(java.util.List<PageRenderResponse.Editable> editables)
Parameters:
editables - the editables to set

setOnlyeditables

public void setOnlyeditables(boolean onlyeditables)
Set whether the tag only contains editables

Parameters:
onlyeditables -


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.