Skip to main content
Skip table of contents

XmpMetaImpl

XmpMetaImpl Public class

Description

Implementation for .

        @since 17.02.2006

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.xmp.impl
  iTextSharp.xmp.impl.XmpMetaImpl[[XmpMetaImpl]]
  end
  subgraph iTextSharp.xmp
  iTextSharp.xmp.IXmpMeta[[IXmpMeta]]
  class iTextSharp.xmp.IXmpMeta interfaceStyle;
  iTextSharp.xmp.XmpConst[[XmpConst]]
  end
  subgraph System
System.ICloneable[[ICloneable]]
  end
iTextSharp.xmp.IXmpMeta --> iTextSharp.xmp.impl.XmpMetaImpl
System.ICloneable --> iTextSharp.xmp.IXmpMeta
iTextSharp.xmp.XmpConst --> iTextSharp.xmp.impl.XmpMetaImpl

Members

Properties

Public properties
TypeNameMethods
stringObjectNameget, set
stringPacketHeaderget, set
XmpNodeRootget

Methods

Public methods
ReturnsName
voidAppendArrayItem(...)
objectClone()
intCountArrayItems(string schemaNs, string arrayName)
voidDeleteArrayItem(string schemaNs, string arrayName, int itemIndex)
voidDeleteProperty(string schemaNs, string propName)
voidDeleteQualifier(string schemaNs, string propName, string qualNs, string qualName)
voidDeleteStructField(string schemaNs, string structName, string fieldNs, string fieldName)
boolDoesArrayItemExist(string schemaNs, string arrayName, int itemIndex)
boolDoesPropertyExist(string schemaNs, string propName)
boolDoesQualifierExist(string schemaNs, string propName, string qualNs, string qualName)
boolDoesStructFieldExist(string schemaNs, string structName, string fieldNs, string fieldName)
stringDumpObject()
IXmpPropertyGetArrayItem(string schemaNs, string arrayName, int itemIndex)
IXmpPropertyGetLocalizedText(string schemaNs, string altTextName, string genericLang, string specificLang)
IXmpPropertyGetProperty(string schemaNs, string propName)
sbyte``[]GetPropertyBase64(string schemaNs, string propName)
Nullable<bool>GetPropertyBoolean(string schemaNs, string propName)
DateTimeGetPropertyCalendar(string schemaNs, string propName)
IXmpDateTimeGetPropertyDate(string schemaNs, string propName)
Nullable<double>GetPropertyDouble(string schemaNs, string propName)
Nullable<int>GetPropertyInteger(string schemaNs, string propName)
Nullable<long>GetPropertyLong(string schemaNs, string propName)
stringGetPropertyString(string schemaNs, string propName)
IXmpPropertyGetQualifier(string schemaNs, string propName, string qualNs, string qualName)
IXmpPropertyGetStructField(string schemaNs, string structName, string fieldNs, string fieldName)
voidInsertArrayItem(...)
IXmpIteratorIterator(...)
voidNormalize(ParseOptions options)
voidSetArrayItem(...)
voidSetLocalizedText(...)
voidSetProperty(...)
voidSetPropertyBase64(...)
voidSetPropertyBoolean(...)
voidSetPropertyCalendar(...)
voidSetPropertyDate(...)
voidSetPropertyDouble(...)
voidSetPropertyInteger(...)
voidSetPropertyLong(...)
voidSetQualifier(...)
voidSetStructField(...)
voidSort()
Protected internal methods
ReturnsName
IXmpPropertyGetProperty(string schemaNs, string propName, int valueType)
objectGetPropertyObject(string schemaNs, string propName, int valueType)
Internal methods
ReturnsName
voidSetNode(XmpNode node, object value, PropertyOptions newOptions, bool deleteExisting)
The internals for SetProperty() and related calls, used after the node is
found or created.

Details

Summary

Implementation for .

        @since 17.02.2006

Inheritance

Constructors

XmpMetaImpl [1/2]

Source code

public XmpMetaImpl()
Summary

Constructor for an empty metadata object.

XmpMetaImpl [2/2]

Source code

public XmpMetaImpl(XmpNode tree)
Arguments
TypeNameDescription
XmpNodetreean prefilled metadata tree which fulfills all ...
Summary

Constructor for a cloned metadata tree.

Methods

AppendArrayItem [1/2]

Source code

public virtual void AppendArrayItem(string schemaNs, string arrayName, PropertyOptions arrayOptions, string itemValue, PropertyOptions itemOptions)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
PropertyOptionsarrayOptions
stringitemValue
PropertyOptionsitemOptions
AppendArrayItem [2/2]

Source code

public virtual void AppendArrayItem(string schemaNs, string arrayName, string itemValue)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
stringitemValue
CountArrayItems

Source code

public virtual int CountArrayItems(string schemaNs, string arrayName)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
DeleteArrayItem

Source code

public virtual void DeleteArrayItem(string schemaNs, string arrayName, int itemIndex)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
intitemIndex
DeleteProperty

Source code

public virtual void DeleteProperty(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
DeleteQualifier

Source code

public virtual void DeleteQualifier(string schemaNs, string propName, string qualNs, string qualName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
stringqualNs
stringqualName
DeleteStructField

Source code

public virtual void DeleteStructField(string schemaNs, string structName, string fieldNs, string fieldName)
Arguments
TypeNameDescription
stringschemaNs
stringstructName
stringfieldNs
stringfieldName
DoesPropertyExist

Source code

public virtual bool DoesPropertyExist(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
DoesArrayItemExist

Source code

public virtual bool DoesArrayItemExist(string schemaNs, string arrayName, int itemIndex)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
intitemIndex
DoesStructFieldExist

Source code

public virtual bool DoesStructFieldExist(string schemaNs, string structName, string fieldNs, string fieldName)
Arguments
TypeNameDescription
stringschemaNs
stringstructName
stringfieldNs
stringfieldName
DoesQualifierExist

Source code

public virtual bool DoesQualifierExist(string schemaNs, string propName, string qualNs, string qualName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
stringqualNs
stringqualName
GetArrayItem

Source code

public virtual IXmpProperty GetArrayItem(string schemaNs, string arrayName, int itemIndex)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
intitemIndex
GetLocalizedText

Source code

public virtual IXmpProperty GetLocalizedText(string schemaNs, string altTextName, string genericLang, string specificLang)
Arguments
TypeNameDescription
stringschemaNs
stringaltTextName
stringgenericLang
stringspecificLang
SetLocalizedText [1/2]

Source code

public virtual void SetLocalizedText(string schemaNs, string altTextName, string genericLang, string specificLang, string itemValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringaltTextName
stringgenericLang
stringspecificLang
stringitemValue
PropertyOptionsoptions
SetLocalizedText [2/2]

Source code

public virtual void SetLocalizedText(string schemaNs, string altTextName, string genericLang, string specificLang, string itemValue)
Arguments
TypeNameDescription
stringschemaNs
stringaltTextName
stringgenericLang
stringspecificLang
stringitemValue
GetProperty [1/2]

Source code

public virtual IXmpProperty GetProperty(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
GetPropertyBoolean

Source code

public virtual Nullable<bool> GetPropertyBoolean(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
SetPropertyBoolean [1/2]

Source code

public virtual void SetPropertyBoolean(string schemaNs, string propName, bool propValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
boolpropValue
PropertyOptionsoptions
SetPropertyBoolean [2/2]

Source code

public virtual void SetPropertyBoolean(string schemaNs, string propName, bool propValue)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
boolpropValue
GetPropertyInteger

Source code

public virtual Nullable<int> GetPropertyInteger(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
SetPropertyInteger [1/2]

Source code

public virtual void SetPropertyInteger(string schemaNs, string propName, int propValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
intpropValue
PropertyOptionsoptions
SetPropertyInteger [2/2]

Source code

public virtual void SetPropertyInteger(string schemaNs, string propName, int propValue)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
intpropValue
GetPropertyLong

Source code

public virtual Nullable<long> GetPropertyLong(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
SetPropertyLong [1/2]

Source code

public virtual void SetPropertyLong(string schemaNs, string propName, long propValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
longpropValue
PropertyOptionsoptions
SetPropertyLong [2/2]

Source code

public virtual void SetPropertyLong(string schemaNs, string propName, long propValue)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
longpropValue
GetPropertyDouble

Source code

public virtual Nullable<double> GetPropertyDouble(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
SetPropertyDouble [1/2]

Source code

public virtual void SetPropertyDouble(string schemaNs, string propName, double propValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
doublepropValue
PropertyOptionsoptions
SetPropertyDouble [2/2]

Source code

public virtual void SetPropertyDouble(string schemaNs, string propName, double propValue)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
doublepropValue
GetPropertyDate

Source code

public virtual IXmpDateTime GetPropertyDate(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
SetPropertyDate [1/2]

Source code

public virtual void SetPropertyDate(string schemaNs, string propName, IXmpDateTime propValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
IXmpDateTimepropValue
PropertyOptionsoptions
SetPropertyDate [2/2]

Source code

public virtual void SetPropertyDate(string schemaNs, string propName, IXmpDateTime propValue)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
IXmpDateTimepropValue
GetPropertyCalendar

Source code

public virtual DateTime GetPropertyCalendar(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
SetPropertyCalendar [1/2]

Source code

public virtual void SetPropertyCalendar(string schemaNs, string propName, DateTime propValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
DateTimepropValue
PropertyOptionsoptions
SetPropertyCalendar [2/2]

Source code

public virtual void SetPropertyCalendar(string schemaNs, string propName, DateTime propValue)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
DateTimepropValue
GetPropertyBase64

Source code

public virtual sbyte GetPropertyBase64(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
GetPropertyString

Source code

public virtual string GetPropertyString(string schemaNs, string propName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
SetPropertyBase64 [1/2]

Source code

public virtual void SetPropertyBase64(string schemaNs, string propName, sbyte[] propValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
sbyte``[]propValue
PropertyOptionsoptions
SetPropertyBase64 [2/2]

Source code

public virtual void SetPropertyBase64(string schemaNs, string propName, sbyte[] propValue)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
sbyte``[]propValue
GetQualifier

Source code

public virtual IXmpProperty GetQualifier(string schemaNs, string propName, string qualNs, string qualName)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
stringqualNs
stringqualName
GetStructField

Source code

public virtual IXmpProperty GetStructField(string schemaNs, string structName, string fieldNs, string fieldName)
Arguments
TypeNameDescription
stringschemaNs
stringstructName
stringfieldNs
stringfieldName
Iterator [1/3]

Source code

public virtual IXmpIterator Iterator()
Iterator [2/3]

Source code

public virtual IXmpIterator Iterator(IteratorOptions options)
Arguments
TypeNameDescription
IteratorOptionsoptions
Iterator [3/3]

Source code

public virtual IXmpIterator Iterator(string schemaNs, string propName, IteratorOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
IteratorOptionsoptions
SetArrayItem [1/2]

Source code

public virtual void SetArrayItem(string schemaNs, string arrayName, int itemIndex, string itemValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
intitemIndex
stringitemValue
PropertyOptionsoptions
SetArrayItem [2/2]

Source code

public virtual void SetArrayItem(string schemaNs, string arrayName, int itemIndex, string itemValue)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
intitemIndex
stringitemValue
InsertArrayItem [1/2]

Source code

public virtual void InsertArrayItem(string schemaNs, string arrayName, int itemIndex, string itemValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
intitemIndex
stringitemValue
PropertyOptionsoptions
InsertArrayItem [2/2]

Source code

public virtual void InsertArrayItem(string schemaNs, string arrayName, int itemIndex, string itemValue)
Arguments
TypeNameDescription
stringschemaNs
stringarrayName
intitemIndex
stringitemValue
SetProperty [1/2]

Source code

public virtual void SetProperty(string schemaNs, string propName, object propValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
objectpropValue
PropertyOptionsoptions
SetProperty [2/2]

Source code

public virtual void SetProperty(string schemaNs, string propName, object propValue)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
objectpropValue
SetQualifier [1/2]

Source code

public virtual void SetQualifier(string schemaNs, string propName, string qualNs, string qualName, string qualValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
stringqualNs
stringqualName
stringqualValue
PropertyOptionsoptions
SetQualifier [2/2]

Source code

public virtual void SetQualifier(string schemaNs, string propName, string qualNs, string qualName, string qualValue)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
stringqualNs
stringqualName
stringqualValue
SetStructField [1/2]

Source code

public virtual void SetStructField(string schemaNs, string structName, string fieldNs, string fieldName, string fieldValue, PropertyOptions options)
Arguments
TypeNameDescription
stringschemaNs
stringstructName
stringfieldNs
stringfieldName
stringfieldValue
PropertyOptionsoptions
SetStructField [2/2]

Source code

public virtual void SetStructField(string schemaNs, string structName, string fieldNs, string fieldName, string fieldValue)
Arguments
TypeNameDescription
stringschemaNs
stringstructName
stringfieldNs
stringfieldName
stringfieldValue
Clone

Source code

public virtual object Clone()
DumpObject

Source code

public virtual string DumpObject()
Sort

Source code

public virtual void Sort()
Normalize

Source code

public virtual void Normalize(ParseOptions options)
Arguments
TypeNameDescription
ParseOptionsoptions
GetProperty [2/2]

Source code

protected internal virtual IXmpProperty GetProperty(string schemaNs, string propName, int valueType)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
intvalueType
GetPropertyObject

Source code

protected internal virtual object GetPropertyObject(string schemaNs, string propName, int valueType)
Arguments
TypeNameDescription
stringschemaNs
stringpropName
intvalueType
SetNode

Source code

internal virtual void SetNode(XmpNode node, object value, PropertyOptions newOptions, bool deleteExisting)
Arguments
TypeNameDescription
XmpNodenodethe newly created node
objectvaluethe node value, can be ...
PropertyOptionsnewOptionsoptions for the new node, must not be ...
booldeleteExistingflag if the existing value is to be overwritten
Summary

The internals for SetProperty() and related calls, used after the node is found or created.

Exceptions
NameDescription
XmpExceptionthrown if options and value do not correspond

Properties

Root
public virtual XmpNode Root { get; }
ObjectName
public virtual string ObjectName { get; set; }
PacketHeader
public virtual string PacketHeader { get; set; }

Generated with ModularDoc

JavaScript errors detected

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

If this problem persists, please contact our support.