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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmarshall(PackagePart part, OutputStream out) Save the given part in the output stream by using the save() method of the part.
-
Constructor Details
-
DefaultMarshaller
public DefaultMarshaller()
-
-
Method Details
-
marshall
Save the given part in the output stream by using the save() method of the part.- Specified by:
marshallin interfacePartMarshaller- Parameters:
part- ThePackagePartto store.out- Output stream to save this part.- Returns:
- true if the content has been successfully stored, false otherwise. More information about errors may be logged via Log4j 2.
- Throws:
OpenXML4JException- If any error occur.
-