Serialize the package to the given output stream.
Parameters: pkg - The Package Parameters: out - The OutputStream throws: IOException - Any I/O exception throws: XPDLSerializerException - Any serializer Exception
Serialize the package to the given writer.
Parameters: pkg - The Package Parameters: out - The Writer throws: IOException - Any I/O exception throws: XPDLSerializerException - Any serializer Exception