Class PageRenderResponse.Tag

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

public static class PageRenderResponse.Tag extends Object
Class for instances of tags
  • Field Details

    • element

      protected String element
      ID of the DOM element of the tag
    • tagname

      protected String tagname
      Tagname
    • onlyeditables

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

      protected List<PageRenderResponse.Editable> editables
      List of editables (if the tag contains any)
  • Constructor Details

    • Tag

      public Tag()
      Empty constructor
    • Tag

      public Tag(String element, String tagname)
      Create an instance of the tag
      Parameters:
      element - element id
      tagname - tagname
  • Method Details

    • getElement

      public String getElement()
      Returns:
      the element
    • setElement

      public void setElement(String element)
      Parameters:
      element - the element to set
    • getTagname

      public String getTagname()
      Returns:
      the tagname
    • isOnlyeditables

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

      public void setTagname(String tagname)
      Parameters:
      tagname - the tagname to set
    • getEditables

      public List<PageRenderResponse.Editable> getEditables()
      Returns:
      the editables
    • setEditables

      public void setEditables(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 -