Interface OpcStamper<T extends org.docx4j.openpackaging.packages.OpcPackage>

All Known Implementing Classes:
DocxStamper

public interface OpcStamper<T extends org.docx4j.openpackaging.packages.OpcPackage>

OpcStamper interface.

Version:
$Id: $Id
Author:
joseph
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stamp(T template, Object context, OutputStream outputStream)
    Stamps the template with the context and writes the result to the outputStream.
  • Method Details

    • stamp

      void stamp(T template, Object context, OutputStream outputStream) throws DocxStamperException
      Stamps the template with the context and writes the result to the outputStream.
      Parameters:
      template - template to stamp
      context - context to use for stamping
      outputStream - output stream to write the result to
      Throws:
      DocxStamperException - if the stamping fails