C# Класс nl.siegmann.epublib.domain.Identifier

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Identifier ( ) : System

Creates an Identifier with as value a random UUID and scheme "UUID"

Identifier ( string scheme, string value ) : System
equals ( Object otherIdentifier ) : bool
getBookIdIdentifier ( List identifiers ) : Identifier

The first identifier for which the bookId is true is made the bookId identifier. If no identifier has bookId == true then the first bookId identifier is written as the primary.

getScheme ( ) : string
getValue ( ) : string
hashCode ( ) : int
isBookId ( ) : bool

This bookId property allows the book creator to add multiple ids and tell the epubwriter which one to write out as the bookId. The Dublin Core metadata spec allows multiple identifiers for a Book. The epub spec requires exactly one identifier to be marked as the book id.

setBookId ( bool bookId ) : void
setScheme ( string scheme ) : void
setValue ( string value ) : void
toString ( ) : string

Описание методов

Identifier() публичный Метод

Creates an Identifier with as value a random UUID and scheme "UUID"
public Identifier ( ) : System
Результат System

Identifier() публичный Метод

public Identifier ( string scheme, string value ) : System
scheme string
value string
Результат System

equals() публичный Метод

public equals ( Object otherIdentifier ) : bool
otherIdentifier Object
Результат bool

getBookIdIdentifier() публичный статический Метод

The first identifier for which the bookId is true is made the bookId identifier. If no identifier has bookId == true then the first bookId identifier is written as the primary.
public static getBookIdIdentifier ( List identifiers ) : Identifier
identifiers List
Результат Identifier

getScheme() публичный Метод

public getScheme ( ) : string
Результат string

getValue() публичный Метод

public getValue ( ) : string
Результат string

hashCode() публичный Метод

public hashCode ( ) : int
Результат int

isBookId() публичный Метод

This bookId property allows the book creator to add multiple ids and tell the epubwriter which one to write out as the bookId. The Dublin Core metadata spec allows multiple identifiers for a Book. The epub spec requires exactly one identifier to be marked as the book id.
public isBookId ( ) : bool
Результат bool

setBookId() публичный Метод

public setBookId ( bool bookId ) : void
bookId bool
Результат void

setScheme() публичный Метод

public setScheme ( string scheme ) : void
scheme string
Результат void

setValue() публичный Метод

public setValue ( string value ) : void
value string
Результат void

toString() публичный Метод

public toString ( ) : string
Результат string