Class PageRenderResponse.Tag
java.lang.Object
com.gentics.contentnode.rest.model.response.PageRenderResponse.Tag
- Enclosing class:
- PageRenderResponse
Class for instances of tags
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<PageRenderResponse.Editable>
List of editables (if the tag contains any)protected String
ID of the DOM element of the tagprotected boolean
True if the tag only contains editables, false if notprotected String
Tagname -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEditables
(List<PageRenderResponse.Editable> editables) void
setElement
(String element) void
setOnlyeditables
(boolean onlyeditables) Set whether the tag only contains editablesvoid
setTagname
(String tagname)
-
Field Details
-
element
ID of the DOM element of the tag -
tagname
Tagname -
onlyeditables
protected boolean onlyeditablesTrue if the tag only contains editables, false if not -
editables
List of editables (if the tag contains any)
-
-
Constructor Details
-
Tag
public Tag()Empty constructor -
Tag
Create an instance of the tag- Parameters:
element
- element idtagname
- tagname
-
-
Method Details
-
getElement
- Returns:
- the element
-
setElement
- Parameters:
element
- the element to set
-
getTagname
- Returns:
- the tagname
-
isOnlyeditables
public boolean isOnlyeditables()- Returns:
- true if the tag only contains editables, false if not
-
setTagname
- Parameters:
tagname
- the tagname to set
-
getEditables
- Returns:
- the editables
-
setEditables
- Parameters:
editables
- the editables to set
-
setOnlyeditables
public void setOnlyeditables(boolean onlyeditables) Set whether the tag only contains editables- Parameters:
onlyeditables
-
-