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
xmpXmpMetadataParent XmpMetadata.
Properties
Name
Gets name (URI) of the schema.
protected abstract string Name { get; }
Property Value
Prefix
Gets schema prefix.
protected abstract string Prefix { get; }
Property Value
SchemaType
Gets type of the schema.
public abstract XmpSchemaType SchemaType { get; }
Property Value
Xmp
Gets parent XmpMetadata.
protected XmpMetadata Xmp { get; }
Property Value
Methods
CreateArray(string, XmpArrayType)
Creates xmp array.
protected XmpArray CreateArray(string name, XmpArrayType arrayType)
Parameters
namestringName of the array.
arrayTypeXmpArrayTypeType 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
namestringName of the array.
Returns
- XmpLangArray
Created xmp array.
CreateSimpleProperty(string)
Creates simple property.
protected XmpSimpleType CreateSimpleProperty(string name)
Parameters
namestringName of the property.
Returns
- XmpSimpleType
Simple property instance.
CreateStructure(XmpStructureType)
Creates the structure.
public XmpStructure CreateStructure(XmpStructureType type)
Parameters
typeXmpStructureTypeThe type of the structure.
Returns
- XmpStructure
Structure object.
CreateStructure(string, XmpStructureType)
Creates the structure.
protected XmpStructure CreateStructure(string name, XmpStructureType type)
Parameters
namestringThe name.
typeXmpStructureTypeThe type.
Returns
- XmpStructure
Structure object.
GetArray(string, XmpArrayType)
Gets xmp array.
protected XmpArray GetArray(string name, XmpArrayType arrayType)
Parameters
namestringName of the array.
arrayTypeXmpArrayTypeType 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
namestringName of the array.
Returns
- XmpLangArray
Xmp array.
GetSimpleProperty(string)
Gets property by its name.
protected XmpSimpleType GetSimpleProperty(string name)
Parameters
namestringName of the property.
Returns
- XmpSimpleType
Xmp property instance.
GetStructure(string, XmpStructureType)
Gets the structure.
protected XmpStructure GetStructure(string name, XmpStructureType type)
Parameters
namestringThe name.
typeXmpStructureTypeThe type.