C# 클래스 nl.siegmann.epublib.domain.Identifier

파일 보기 프로젝트 열기: lanfengqi/EpubLib-Sharp 1 사용 예제들

공개 메소드들

메소드 설명
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