Class XmpEntityBase
Base class for the xmp entities.
Inherited Members
Namespace: Syncfusion.Pdf.Xmp
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public abstract class XmpEntityBase
Constructors
XmpEntityBase(XmlNode, String, String, String)
Initializes a new instance of the XmpEntityBase class.
Declaration
protected XmpEntityBase(XmlNode parent, string prefix, string localName, string namespaceURI)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNode | parent | The parent. |
System.String | prefix | The prefix. |
System.String | localName | Name of the local. |
System.String | namespaceURI | The namespace URI. |
Properties
EntityName
Gets name of the entity's tag.
Declaration
protected string EntityName { get; }
Property Value
Type |
---|
System.String |
EntityNamespaceURI
Gets URI of the entity's namespace.
Declaration
protected string EntityNamespaceURI { get; }
Property Value
Type |
---|
System.String |
EntityParent
Gets parent xml node for the entity.
Declaration
protected XmlNode EntityParent { get; }
Property Value
Type |
---|
System.Xml.XmlNode |
EntityPrefix
Gets namespace prefix of the entity.
Declaration
protected string EntityPrefix { get; }
Property Value
Type |
---|
System.String |
Exists
Gets a value indicating whether this XmpEntityBase is exists.
Declaration
protected bool Exists { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
SuspendInitialization
Gets a value indicating whether [suspend initialization].
Declaration
protected bool SuspendInitialization { get; }
Property Value
Type |
---|
System.Boolean |
XmlData
Gets Xml data of the entity.
Declaration
public XmlElement XmlData { get; }
Property Value
Type |
---|
System.Xml.XmlElement |
Methods
CheckIfExists()
Checks whether entity already exists in the parent.
Declaration
protected virtual bool CheckIfExists()
Returns
Type | Description |
---|---|
System.Boolean | True - if exists, False otherwise. |
CreateEntity()
Creates entity in the parent.
Declaration
protected abstract void CreateEntity()
GetEntityXml()
Gets Xml data of the entity.
Declaration
protected abstract XmlElement GetEntityXml()
Returns
Type | Description |
---|---|
System.Xml.XmlElement | XmlElement containing entity data. |
GetSuspend()
Gets value indicating whether we have to suspend initialization.
Declaration
protected virtual bool GetSuspend()
Returns
Type | Description |
---|---|
System.Boolean | Value indicating whether we have to suspend initialization. |
Initialize()
Initializes object.
Declaration
protected virtual void Initialize()