Table of Contents

Class XmpEntityBase

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

Base class for the xmp entities.

public abstract class XmpEntityBase
Inheritance
XmpEntityBase
Derived
Inherited Members

Constructors

XmpEntityBase(XNode, string, string, string)

Initializes a new instance of the XmpEntityBase class.

protected XmpEntityBase(XNode parent, string prefix, string localName, string namespaceURI)

Parameters

parent XNode

The parent.

prefix string

The prefix.

localName string

Name of the local.

namespaceURI string

The namespace URI.

Properties

EntityName

Gets name of the entity's tag.

protected string EntityName { get; }

Property Value

string

EntityNamespaceURI

Gets URI of the entity's namespace.

protected string EntityNamespaceURI { get; }

Property Value

string

EntityParent

Gets parent xml node for the entity.

protected XElement EntityParent { get; }

Property Value

XElement

EntityPrefix

Gets namespace prefix of the entity.

protected string EntityPrefix { get; }

Property Value

string

Exists

Gets a value indicating whether this XmpEntityBase is exists.

protected bool Exists { get; }

Property Value

bool

true if exists; otherwise, false.

SuspendInitialization

Gets a value indicating whether [suspend initialization].

protected bool SuspendInitialization { get; }

Property Value

bool

XmlData

Gets Xml data of the entity.

public XElement XmlData { get; }

Property Value

XElement

Methods

CheckIfExists()

Checks whether entity already exists in the parent.

protected virtual bool CheckIfExists()

Returns

bool

True - if exists, False otherwise.

CreateEntity()

Creates entity in the parent.

protected abstract void CreateEntity()

GetEntityXml()

Gets Xml data of the entity.

protected abstract XElement GetEntityXml()

Returns

XElement

XmlElement containing entity data.

GetSuspend()

Gets value indicating whether we have to suspend initialization.

protected virtual bool GetSuspend()

Returns

bool

Value indicating whether we have to suspend initialization.

Initialize()

Initializes object.

protected virtual void Initialize()