org.apache.poi.openxml4j.opc.internal.marshallers
Class PackagePropertiesMarshaller

java.lang.Object
  extended by org.apache.poi.openxml4j.opc.internal.marshallers.PackagePropertiesMarshaller
All Implemented Interfaces:
PartMarshaller
Direct Known Subclasses:
ZipPackagePropertiesMarshaller

public class PackagePropertiesMarshaller
extends java.lang.Object
implements PartMarshaller

Package properties marshaller.

Author:
CDubet, Julien Chable

Constructor Summary
PackagePropertiesMarshaller()
           
 
Method Summary
 boolean marshall(PackagePart part, java.io.OutputStream out)
          Marshall package core properties to an XML document.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackagePropertiesMarshaller

public PackagePropertiesMarshaller()
Method Detail

marshall

public boolean marshall(PackagePart part,
                        java.io.OutputStream out)
                 throws OpenXML4JException
Marshall package core properties to an XML document. Always return true.

Specified by:
marshall in interface PartMarshaller
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.