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.

Method Summary
 boolean marshall(PackagePart part, out)
          Save the content of the package in the stream

Method Detail


boolean marshall(PackagePart part,
                 throws OpenXML4JException
Save the content of the package in the stream

part - Part to marshall.
out - The output stream into which the part will be marshall.
false if any marshall error occurs, else true
OpenXML4JException - Throws only if any other exceptions are thrown by inner methods.