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
Type | Name | Methods |
---|---|---|
IXmpSchemaRegistry | SchemaRegistry | get |
Methods
Public Static methods
Returns | Name |
---|---|
IXmpMeta | Create () |
IXmpVersionInfo | GetVersionInfo ()Obtain version information. The XMPVersionInfo singleton is created the first time its requested. |
IXmpMeta | Parse (... ) |
IXmpMeta | ParseFromBuffer (... ) |
IXmpMeta | ParseFromString (... ) |
void | Reset ()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. |
void | Serialize (... )Serializes an ... |
byte``[] | SerializeToBuffer (IXmpMeta xmp, SerializeOptions options)Serializes an ... |
string | SerializeToString (IXmpMeta xmp, SerializeOptions options)Serializes an ... |
Details
Summary
Creates
XMPMeta
-instances from an
InputStream
Methods
Create
public static IXmpMeta Create()
Returns
Returns an empty
XMPMeta
Parse [1/2]
public static IXmpMeta Parse(Stream in)
Arguments
Type | Name | Description |
---|---|---|
Stream | in |
Parse [2/2]
public static IXmpMeta Parse(Stream in, ParseOptions options)
Arguments
Type | Name | Description |
---|---|---|
Stream | in | |
ParseOptions | options |
ParseFromString [1/2]
public static IXmpMeta ParseFromString(string packet)
Arguments
Type | Name | Description |
---|---|---|
string | packet |
ParseFromString [2/2]
public static IXmpMeta ParseFromString(string packet, ParseOptions options)
Arguments
Type | Name | Description |
---|---|---|
string | packet | |
ParseOptions | options |
ParseFromBuffer [1/2]
public static IXmpMeta ParseFromBuffer(byte[] buffer)
Arguments
Type | Name | Description |
---|---|---|
byte``[] | buffer |
ParseFromBuffer [2/2]
public static IXmpMeta ParseFromBuffer(byte[] buffer, ParseOptions options)
Arguments
Type | Name | Description |
---|---|---|
byte``[] | buffer | |
ParseOptions | options |
Serialize [1/2]
public static void Serialize(IXmpMeta xmp, Stream out)
Arguments
Type | Name | Description |
---|---|---|
IXmpMeta | xmp | a metadata object |
Stream | out | an ... |
Summary
Serializes an
XMPMeta
-object as RDF into an
OutputStream
Exceptions
Name | Description |
---|---|
XmpException | on serializsation errors. |
Serialize [2/2]
public static void Serialize(IXmpMeta xmp, Stream out, SerializeOptions options)
Arguments
Type | Name | Description |
---|---|---|
IXmpMeta | xmp | a metadata object |
Stream | out | an ... |
SerializeOptions | options | Options to control the serialization (see ). |
Summary
Serializes an
XMPMeta
-object as RDF into an
OutputStream
Exceptions
Name | Description |
---|---|
XmpException | on serializsation errors. |
SerializeToBuffer
public static byte SerializeToBuffer(IXmpMeta xmp, SerializeOptions options)
Arguments
Type | Name | Description |
---|---|---|
IXmpMeta | xmp | a metadata 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. |
SerializeToString
public static string SerializeToString(IXmpMeta xmp, SerializeOptions options)
Arguments
Type | Name | Description |
---|---|---|
IXmpMeta | xmp | a metadata 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. |
Reset
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
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