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 |
|---|---|---|
|
|
|
|
Methods
Public Static methods
|
Returns |
Name |
|---|---|
|
|
() |
|
|
()
|
|
|
( |
|
|
( |
|
|
( |
|
|
()
|
|
|
( |
|
|
(
xmp,
options)
|
|
|
(
xmp,
options)
|
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
|
Type |
Name |
Description |
|---|---|---|
|
|
in |
Parse [2/2]
Source code
public static IXmpMeta Parse(Stream in, ParseOptions options)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
in |
|
|
|
options |
ParseFromString [1/2]
Source code
public static IXmpMeta ParseFromString(string packet)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
packet |
ParseFromString [2/2]
Source code
public static IXmpMeta ParseFromString(string packet, ParseOptions options)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
packet |
|
|
|
options |
ParseFromBuffer [1/2]
Source code
public static IXmpMeta ParseFromBuffer(byte[] buffer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
buffer |
ParseFromBuffer [2/2]
Source code
public static IXmpMeta ParseFromBuffer(byte[] buffer, ParseOptions options)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
buffer |
|
|
|
options |
Serialize [1/2]
Source code
public static void Serialize(IXmpMeta xmp, Stream out)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
xmp |
a metadata object |
|
|
out |
an ... |
Summary
Serializes an
XMPMeta
-object as RDF into an
OutputStream
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
on serializsation errors. |
Serialize [2/2]
Source code
public static void Serialize(IXmpMeta xmp, Stream out, SerializeOptions options)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
xmp |
a metadata object |
|
|
out |
an ... |
|
|
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
Source code
public static byte SerializeToBuffer(IXmpMeta xmp, SerializeOptions options)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
xmp |
a metadata object |
|
|
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
Source code
public static string SerializeToString(IXmpMeta xmp, SerializeOptions options)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
xmp |
a metadata object |
|
|
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
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