Interface PartMarshaller

All Known Implementing Classes:
DefaultMarshaller, PackagePropertiesMarshaller, ZipPackagePropertiesMarshaller, ZipPartMarshaller

public interface PartMarshaller
Object implemented this interface are considered as part marshaller. A part marshaller is responsible to marshall a part in order to be save in a package.
Version:
0.1
Author:
Julien Chable
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Save the content of the package in the stream
  • Method Details

    • marshall

      boolean marshall(PackagePart part, OutputStream out) throws OpenXML4JException
      Save the content of the package in the stream
      Parameters:
      part - Part to marshall.
      out - The output stream into which the part will be marshall.
      Returns:
      false if any marshall error occurs, else true
      Throws:
      OpenXML4JException - Throws only if any other exceptions are thrown by inner methods.