Package com.evopdf

# Class ElementsRenderer

java.lang.Object
com.evopdf.ElementsRenderer

Direct Known Subclasses:
  `PdfPage`, `Template`

public abstract class ElementsRenderer extends Object
Base class for classes capable of rendering page elements

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ElementsRenderer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract void`
  `addElement(PageElement pageElement)`
  An abstract method to add a PDF page element to the elements renderer
  `Document`
  `parentDocument()`
  Gets the parent document of this renderer
  `void`
  `setParentDocument(Document pdfDocument)`
  Sets the parent document of this renderer

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ElementsRenderer

    public ElementsRenderer()

- ## Method Details

  - ### parentDocument

    public Document parentDocument()
    Gets the parent document of this renderer
    Returns:
      the parent document of this renderer

  - ### setParentDocument

    public void setParentDocument(Document pdfDocument)
    Sets the parent document of this renderer
    Parameters:
      `pdfDocument` - the parent document of this renderer

  - ### addElement

    public abstract void addElement(PageElement pageElement)
    An abstract method to add a PDF page element to the elements renderer
    Parameters:
      `pageElement` - The page element to be rendered