Table of Contents

Class XmpSchema

Namespace
Syncfusion.Pdf.Xmp
Assembly
Syncfusion.Pdf.Portable.dll

Represents Xmp Schema.

public abstract class XmpSchema : XmpEntityBase
Inheritance
XmpSchema
Derived
Inherited Members

Constructors

XmpSchema(XmpMetadata)

Creates new object.

protected XmpSchema(XmpMetadata xmp)

Parameters

xmp XmpMetadata

Parent XmpMetadata.

Properties

Name

Gets name (URI) of the schema.

protected abstract string Name { get; }

Property Value

string

Prefix

Gets schema prefix.

protected abstract string Prefix { get; }

Property Value

string

SchemaType

Gets type of the schema.

public abstract XmpSchemaType SchemaType { get; }

Property Value

XmpSchemaType

Xmp

Gets parent XmpMetadata.

protected XmpMetadata Xmp { get; }

Property Value

XmpMetadata

Methods

CreateArray(string, XmpArrayType)

Creates xmp array.

protected XmpArray CreateArray(string name, XmpArrayType arrayType)

Parameters

name string

Name of the array.

arrayType XmpArrayType

Type of the array.

Returns

XmpArray

Created xmp array.

CreateEntity()

Creates schema xml.

protected override void CreateEntity()

CreateLangArray(string)

Creates xmp lang array.

protected XmpLangArray CreateLangArray(string name)

Parameters

name string

Name of the array.

Returns

XmpLangArray

Created xmp array.

CreateSimpleProperty(string)

Creates simple property.

protected XmpSimpleType CreateSimpleProperty(string name)

Parameters

name string

Name of the property.

Returns

XmpSimpleType

Simple property instance.

CreateStructure(XmpStructureType)

Creates the structure.

public XmpStructure CreateStructure(XmpStructureType type)

Parameters

type XmpStructureType

The type of the structure.

Returns

XmpStructure

Structure object.

CreateStructure(string, XmpStructureType)

Creates the structure.

protected XmpStructure CreateStructure(string name, XmpStructureType type)

Parameters

name string

The name.

type XmpStructureType

The type.

Returns

XmpStructure

Structure object.

GetArray(string, XmpArrayType)

Gets xmp array.

protected XmpArray GetArray(string name, XmpArrayType arrayType)

Parameters

name string

Name of the array.

arrayType XmpArrayType

Type of the array.

Returns

XmpArray

Xmp array.

GetEntityXml()

Gets Xml data of the entity.

protected override XElement GetEntityXml()

Returns

XElement

XElement containing entity data.

GetLangArray(string)

Gets xmp lang array.

protected XmpLangArray GetLangArray(string name)

Parameters

name string

Name of the array.

Returns

XmpLangArray

Xmp array.

GetSimpleProperty(string)

Gets property by its name.

protected XmpSimpleType GetSimpleProperty(string name)

Parameters

name string

Name of the property.

Returns

XmpSimpleType

Xmp property instance.

GetStructure(string, XmpStructureType)

Gets the structure.

protected XmpStructure GetStructure(string name, XmpStructureType type)

Parameters

name string

The name.

type XmpStructureType

The type.

Returns

XmpStructure