Class XmpSchema
Represents Xmp Schema.
Inheritance
Inherited Members
Namespace: Syncfusion.Pdf.Xmp
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public abstract class XmpSchema : XmpEntityBase
Constructors
XmpSchema(XmpMetadata)
Creates new object.
Declaration
protected XmpSchema(XmpMetadata xmp)
Parameters
Type | Name | Description |
---|---|---|
XmpMetadata | xmp | Parent XmpMetadata. |
Properties
Name
Gets name (URI) of the schema.
Declaration
protected abstract string Name { get; }
Property Value
Type |
---|
System.String |
Prefix
Gets schema prefix.
Declaration
protected abstract string Prefix { get; }
Property Value
Type |
---|
System.String |
SchemaType
Gets type of the schema.
Declaration
public abstract XmpSchemaType SchemaType { get; }
Property Value
Type |
---|
XmpSchemaType |
Xmp
Gets parent XmpMetadata.
Declaration
protected XmpMetadata Xmp { get; }
Property Value
Type |
---|
XmpMetadata |
Methods
CreateArray(String, XmpArrayType)
Creates xmp array.
Declaration
protected XmpArray CreateArray(string name, XmpArrayType arrayType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the array. |
XmpArrayType | arrayType | Type of the array. |
Returns
Type | Description |
---|---|
XmpArray | Created xmp array. |
CreateEntity()
Creates schema xml.
Declaration
protected override void CreateEntity()
Overrides
CreateLangArray(String)
Creates xmp lang array.
Declaration
protected XmpLangArray CreateLangArray(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the array. |
Returns
Type | Description |
---|---|
XmpLangArray | Created xmp array. |
CreateSimpleProperty(String)
Creates simple property.
Declaration
protected XmpSimpleType CreateSimpleProperty(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property. |
Returns
Type | Description |
---|---|
XmpSimpleType | Simple property instance. |
CreateStructure(XmpStructureType)
Creates the structure.
Declaration
public XmpStructure CreateStructure(XmpStructureType type)
Parameters
Type | Name | Description |
---|---|---|
XmpStructureType | type | The type of the structure. |
Returns
Type | Description |
---|---|
XmpStructure | Structure object. |
CreateStructure(String, XmpStructureType)
Creates the structure.
Declaration
protected XmpStructure CreateStructure(string name, XmpStructureType type)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
XmpStructureType | type | The type. |
Returns
Type | Description |
---|---|
XmpStructure | Structure object. |
GetArray(String, XmpArrayType)
Gets xmp array.
Declaration
protected XmpArray GetArray(string name, XmpArrayType arrayType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the array. |
XmpArrayType | arrayType | Type of the array. |
Returns
Type | Description |
---|---|
XmpArray | Xmp array. |
GetEntityXml()
Gets Xml data of the entity.
Declaration
protected override XElement GetEntityXml()
Returns
Type | Description |
---|---|
System.Xml.Linq.XElement | XElement containing entity data. |
Overrides
GetLangArray(String)
Gets xmp lang array.
Declaration
protected XmpLangArray GetLangArray(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the array. |
Returns
Type | Description |
---|---|
XmpLangArray | Xmp array. |
GetSimpleProperty(String)
Gets property by its name.
Declaration
protected XmpSimpleType GetSimpleProperty(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property. |
Returns
Type | Description |
---|---|
XmpSimpleType | Xmp property instance. |
GetStructure(String, XmpStructureType)
Gets the structure.
Declaration
protected XmpStructure GetStructure(string name, XmpStructureType type)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
XmpStructureType | type | The type. |
Returns
Type |
---|
XmpStructure |