Class DefaultMarshaller
java.lang.Object
org.apache.poi.openxml4j.opc.internal.marshallers.DefaultMarshaller
- All Implemented Interfaces:
PartMarshaller
Default marshaller that specified that the part is responsible to marshall its content.
- Version:
- 1.0
- Author:
- Julien Chable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
marshall
(PackagePart part, OutputStream out) Save part in the output stream by using the save() method of the part.
-
Constructor Details
-
DefaultMarshaller
public DefaultMarshaller()
-
-
Method Details
-
marshall
Save part in the output stream by using the save() method of the part.- Specified by:
marshall
in interfacePartMarshaller
- 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
- If any error occur.
-