Class AbstractVisitable

java.lang.Object
io.keikai.doc.io.schema.docx.AbstractVisitable
All Implemented Interfaces:
ICTElement, IDOCXVisitable<Object>, IXWPFElement
Direct Known Subclasses:
AbstractBody, AbstractBodyElement, DOCXR, DOCXTr

public abstract class AbstractVisitable extends Object implements IDOCXVisitable<Object>, IXWPFElement
Internal Use Only.

An abstract class represents an element that can be visited by a visitor.

Author:
Jamson Chan
  • Constructor Details

    • AbstractVisitable

      public AbstractVisitable()
  • Method Details

    • getTempData

      public Object getTempData(Object key)
      Description copied from interface: IDOCXVisitable
      Returns temporary data by key.

      Used to store temporary data during visiting.

      Specified by:
      getTempData in interface IDOCXVisitable<Object>
      Returns:
      the temporary data by key.
    • addTempData

      public void addTempData(Object key, Object value)
      Description copied from interface: IDOCXVisitable
      Adds temporary data.

      Used to store temporary data during visiting.

      Specified by:
      addTempData in interface IDOCXVisitable<Object>
      Parameters:
      key - the key of the data.
      value - the value of the data.