Skip to main content
Skip table of contents

XmpMetaFactory

XmpMetaFactory Public class

Description

Creates ...

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.xmp
  iTextSharp.xmp.XmpMetaFactory[[XmpMetaFactory]]
  end

Members

Properties

Public Static properties

Methods

Public Static methods
ReturnsName
IXmpMetaCreate()
IXmpVersionInfoGetVersionInfo()
Obtain version information. The XMPVersionInfo singleton is created the first time
its requested.
IXmpMetaParse(...)
IXmpMetaParseFromBuffer(...)
IXmpMetaParseFromString(...)
voidReset()
Resets the _schema registry to its original state (creates a new one).
Be careful this might break all existing XMPMeta-objects and should be used
only for testing purpurses.
voidSerialize(...)
Serializes an ...
byte``[]SerializeToBuffer(IXmpMeta xmp, SerializeOptions options)
Serializes an ...
stringSerializeToString(IXmpMeta xmp, SerializeOptions options)
Serializes an ...

Details

Summary

Creates

XMPMeta

-instances from an

InputStream

Methods

Create

Source code

public static IXmpMeta Create()
Returns

Returns an empty

XMPMeta
Parse [1/2]

Source code

public static IXmpMeta Parse(Stream in)
Arguments
TypeNameDescription
Streamin
Parse [2/2]

Source code

public static IXmpMeta Parse(Stream in, ParseOptions options)
Arguments
TypeNameDescription
Streamin
ParseOptionsoptions
ParseFromString [1/2]

Source code

public static IXmpMeta ParseFromString(string packet)
Arguments
TypeNameDescription
stringpacket
ParseFromString [2/2]

Source code

public static IXmpMeta ParseFromString(string packet, ParseOptions options)
Arguments
TypeNameDescription
stringpacket
ParseOptionsoptions
ParseFromBuffer [1/2]

Source code

public static IXmpMeta ParseFromBuffer(byte[] buffer)
Arguments
TypeNameDescription
byte``[]buffer
ParseFromBuffer [2/2]

Source code

public static IXmpMeta ParseFromBuffer(byte[] buffer, ParseOptions options)
Arguments
TypeNameDescription
byte``[]buffer
ParseOptionsoptions
Serialize [1/2]

Source code

public static void Serialize(IXmpMeta xmp, Stream out)
Arguments
TypeNameDescription
IXmpMetaxmpa metadata object
Streamoutan ...
Summary

Serializes an

XMPMeta

-object as RDF into an

OutputStream
Exceptions
NameDescription
XmpExceptionon serializsation errors.
Serialize [2/2]

Source code

public static void Serialize(IXmpMeta xmp, Stream out, SerializeOptions options)
Arguments
TypeNameDescription
IXmpMetaxmpa metadata object
Streamoutan ...
SerializeOptionsoptionsOptions to control the serialization (see ).
Summary

Serializes an

XMPMeta

-object as RDF into an

OutputStream
Exceptions
NameDescription
XmpExceptionon serializsation errors.
SerializeToBuffer

Source code

public static byte SerializeToBuffer(IXmpMeta xmp, SerializeOptions options)
Arguments
TypeNameDescription
IXmpMetaxmpa metadata 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.
SerializeToString

Source code

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

Serializes an

XMPMeta
Returns

Returns a string containing the serialized RDF.

Exceptions
NameDescription
XmpExceptionon serializsation errors.
Reset

Source code

public static void Reset()
Summary

Resets the _schema registry to its original state (creates a new one). Be careful this might break all existing XMPMeta-objects and should be used only for testing purpurses.

GetVersionInfo

Source code

public static IXmpVersionInfo GetVersionInfo()
Summary

Obtain version information. The XMPVersionInfo singleton is created the first time its requested.

Returns

Returns the version information.

Properties

SchemaRegistry
public static IXmpSchemaRegistry SchemaRegistry { get; }

Generated with ModularDoc

JavaScript errors detected

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

If this problem persists, please contact our support.