XmpSerializerHelper
XmpSerializerHelper Public class
Description
Serializes the ...
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.xmp.impl
iTextSharp.xmp.impl.XmpSerializerHelper[[XmpSerializerHelper]]
end
Members
Methods
Public Static methods
| Returns | Name |
|---|---|
void | Serialize(XmpMetaImpl xmp, Stream out, SerializeOptions options)Static method to Serialize the metadata object. For each serialisation, a new XMPSerializer instance is created, either XMPSerializerRDF or XMPSerializerPlain so thats its possible to serialialize the same XMPMeta objects in two threads. |
byte``[] | SerializeToBuffer(XmpMetaImpl xmp, SerializeOptions options)Serializes an ... |
string | SerializeToString(XmpMetaImpl xmp, SerializeOptions options)Serializes an ... |
Details
Summary
Serializes the
XMPMeta
-object to an
OutputStream
according to the
SerializeOptions
Constructors
XmpSerializerHelper
public XmpSerializerHelper()
Methods
Serialize
Source codepublic static void Serialize(XmpMetaImpl xmp, Stream out, SerializeOptions options)
Arguments
| Type | Name | Description |
|---|---|---|
XmpMetaImpl | xmp | a metadata implementation object |
Stream | out | the output stream to Serialize to |
SerializeOptions | options | serialization options, can be ... |
Summary
Static method to Serialize the metadata object. For each serialisation, a new XMPSerializer instance is created, either XMPSerializerRDF or XMPSerializerPlain so thats its possible to serialialize the same XMPMeta objects in two threads.
Exceptions
| Name | Description |
|---|---|
| XmpException |
SerializeToString
Source codepublic static string SerializeToString(XmpMetaImpl xmp, SerializeOptions options)
Arguments
| Type | Name | Description |
|---|---|---|
XmpMetaImpl | xmp | a metadata implementation object |
SerializeOptions | options | Options to control the serialization (see ). |
Summary
Serializes an
XMPMeta
Returns
Returns a string containing the serialized RDF.
Exceptions
| Name | Description |
|---|---|
| XmpException | on serializsation errors. |
SerializeToBuffer
Source codepublic static byte SerializeToBuffer(XmpMetaImpl xmp, SerializeOptions options)
Arguments
| Type | Name | Description |
|---|---|---|
XmpMetaImpl | xmp | a metadata implementation object |
SerializeOptions | options | Options to control the serialization (see ). |
Summary
Serializes an
XMPMeta
Returns
Returns a byte buffer containing the serialized RDF.
Exceptions
| Name | Description |
|---|---|
| XmpException | on serializsation errors. |
Generated with ModularDoc