Class EpubMetadataMeta
A generic metadata item of the EPUB book.
See https://www.w3.org/publishing/epub32/epub-packages.html#sec-meta-elem, https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf2-meta, and https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2 for more information.
Inherited Members
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class EpubMetadataMeta
Constructors
View SourceEpubMetadataMeta(string?, string, string?, string?, string?, string?, EpubTextDirection?, string?)
Initializes a new instance of the EpubMetadataMeta class.
Declaration
public EpubMetadataMeta(string? name, string content, string? id = null, string? refines = null, string? property = null, string? scheme = null, EpubTextDirection? textDirection = null, string? language = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the EPUB 2 generic metadata item or |
string | content | The content (i.e. value) of the EPUB 2 generic metadata item or the metadata expression of the EPUB 3 generic metadata item. |
string | id | The unique ID of this EPUB 3 generic metadata item or |
string | refines | A relative IRI that identifies the resource augmented by the EPUB 3 generic metadata item
or |
string | property | The property data type value that defines the statement being made in the expression (see Content) of the EPUB 3 generic metadata item
or |
string | scheme | The system or scheme that the expression (see Content) of the EPUB 3 generic metadata item is drawn from
or |
EpubTextDirection? | textDirection | The text direction of this EPUB 3 generic metadata item or |
string | language | The language of this EPUB 3 generic metadata item or |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
Properties
View SourceContent
Gets the content (i.e. value) of the EPUB 2 generic metadata item or the metadata expression of the EPUB 3 generic metadata item.
See https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2 and https://www.w3.org/publishing/epub32/epub-packages.html#sec-meta-elem for more information.
Declaration
public string Content { get; }
Property type: string
View SourceId
Gets the unique ID of this EPUB 3 generic metadata item or null
if the generic metadata item doesn't have an ID.
See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-id for more information.
Declaration
public string? Id { get; }
Property type: string
View SourceLanguage
Gets the language of this EPUB 3 generic metadata item or null
if the generic metadata item doesn't specify the language.
See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-xml-lang for more information.
Declaration
public string? Language { get; }
Property type: string
View SourceName
Gets the name of the EPUB 2 generic metadata item or null
for EPUB 3 generic metadata item.
See https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2 for more information.
Declaration
public string? Name { get; }
Property type: string
View SourceProperty
Gets the property data type value that defines the statement being made in the expression (see Content) of the EPUB 3 generic metadata item
or null
for EPUB 2 generic metadata item.
See https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2 and https://www.w3.org/publishing/epub32/epub-packages.html#sec-meta-elem for more information.
Declaration
public string? Property { get; }
Property type: string
View SourceRefines
Gets a relative IRI that identifies the resource augmented by the EPUB 3 generic metadata item
or null
if the generic metadata item doesn't specify any augmentation.
See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-refines for more information.
Declaration
public string? Refines { get; }
Property type: string
View SourceScheme
Gets the system or scheme that the expression (see Content) of the EPUB 3 generic metadata item is drawn from
or null
if the generic metadata item doesn't specify a scheme for the expression.
See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-scheme for more information.
Declaration
public string? Scheme { get; }
Property type: string
View SourceTextDirection
Gets the text direction of this EPUB 3 generic metadata item or null
if the generic metadata item doesn't specify a text direction.
See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-dir for more information.
Declaration
public EpubTextDirection? TextDirection { get; }