Interface ElementListener

All Superinterfaces:
EventListener
All Known Subinterfaces:
DocListener
All Known Implementing Classes:
Document, DocWriter, FdfWriter.Wrt, HTMLWorker, HtmlWriter, PdfCopy, PdfCopyFieldsImp, PdfCopyFormsImp, PdfDocument, PdfSmartCopy, PdfStamperImp, PdfWriter, UnembedFontPdfSmartCopy

public interface ElementListener extends EventListener
A class that implements ElementListener will perform some actions when an Element is added.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    add(Element element)
    Signals that an Element was added to the Document.
  • Method Details

    • add

      boolean add(Element element) throws DocumentException
      Signals that an Element was added to the Document.
      Parameters:
      element - a high level object
      Returns:
      true if the element was added, false if not.
      Throws:
      DocumentException - when a document isn't open yet, or has been closed