Skip to main content
Skip table of contents

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
ReturnsName
voidSerialize(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 ...
stringSerializeToString(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 code

public static void Serialize(XmpMetaImpl xmp, Stream out, SerializeOptions options)
Arguments
TypeNameDescription
XmpMetaImplxmpa metadata implementation object
Streamoutthe output stream to Serialize to
SerializeOptionsoptionsserialization 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
NameDescription
XmpException
SerializeToString

Source code

public static string SerializeToString(XmpMetaImpl xmp, SerializeOptions options)
Arguments
TypeNameDescription
XmpMetaImplxmpa metadata implementation object
SerializeOptionsoptionsOptions to control the serialization (see ).
Summary

Serializes an

XMPMeta
Returns

Returns a string containing the serialized RDF.

Exceptions
NameDescription
XmpExceptionon serializsation errors.
SerializeToBuffer

Source code

public static byte SerializeToBuffer(XmpMetaImpl xmp, SerializeOptions options)
Arguments
TypeNameDescription
XmpMetaImplxmpa metadata implementation object
SerializeOptionsoptionsOptions to control the serialization (see ).
Summary

Serializes an

XMPMeta
Returns

Returns a byte buffer containing the serialized RDF.

Exceptions
NameDescription
XmpExceptionon serializsation errors.

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.