Class RenderElement
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- Direct Known Subclasses:
CellSpan
,Chart
,Code
,COPChart
,D3Code
,ElementCollection
,ExternalResource
,FootNote
,Formula
,HTML
,HyperLink
,Image
,Loop
,MarkDownContent
,PageBreak
,PDFFormData
,PDFImages
,PDFTexts
,Property
,Raw
,RawJsonArray
,RightToLeft
,StyledProperty
,TableCell
,TableOfContents
,TextBox
,Watermark
public abstract class RenderElement extends java.lang.Object
Abstract class for renderElements. RenderElements will replace their corresponding tag based on their name in the template(s).
-
-
Constructor Summary
Constructors Constructor Description RenderElement()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.google.gson.JsonObject
getJSON()
java.lang.String
getName()
abstract java.util.Set<java.lang.String>
getTemplateTags()
java.lang.String
getValue()
void
setName(java.lang.String name)
void
setValue(java.lang.String value)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- Name of this element for the tag.
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- Name of this element for the tag.
-
getValue
public java.lang.String getValue()
- Returns:
- Value of this element.
-
setValue
public void setValue(java.lang.String value)
- Parameters:
value
- Value of this property.
-
getJSON
public abstract com.google.gson.JsonObject getJSON()
- Returns:
- JSONObject with the tags for this element for the Cloud Office Print server.
-
getTemplateTags
public abstract java.util.Set<java.lang.String> getTemplateTags()
- Returns:
- An immutable set containing all available template tags this element can replace.
-
-