C# Class nl.siegmann.epublib.domain.Identifier

Afficher le fichier Open project: lanfengqi/EpubLib-Sharp Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Identifier() public méthode

Creates an Identifier with as value a random UUID and scheme "UUID"
public Identifier ( ) : System
Résultat System

Identifier() public méthode

public Identifier ( string scheme, string value ) : System
scheme string
value string
Résultat System

equals() public méthode

public equals ( Object otherIdentifier ) : bool
otherIdentifier Object
Résultat bool

getBookIdIdentifier() public static méthode

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
Résultat Identifier

getScheme() public méthode

public getScheme ( ) : string
Résultat string

getValue() public méthode

public getValue ( ) : string
Résultat string

hashCode() public méthode

public hashCode ( ) : int
Résultat int

isBookId() public méthode

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
Résultat bool

setBookId() public méthode

public setBookId ( bool bookId ) : void
bookId bool
Résultat void

setScheme() public méthode

public setScheme ( string scheme ) : void
scheme string
Résultat void

setValue() public méthode

public setValue ( string value ) : void
value string
Résultat void

toString() public méthode

public toString ( ) : string
Résultat string