public class Identifier extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static interface |
Identifier.Scheme |
Constructor and Description |
---|
Identifier()
Creates an Identifier with as value a random UUID and scheme "UUID"
|
Identifier(String scheme,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherIdentifier) |
static Identifier |
getBookIdIdentifier(List<Identifier> identifiers)
The first identifier for which the bookId is true is made the bookId identifier.
|
String |
getScheme() |
String |
getValue() |
int |
hashCode() |
boolean |
isBookId()
This bookId property allows the book creator to add multiple ids and tell the epubwriter which one to write out as the bookId.
|
void |
setBookId(boolean bookId) |
void |
setScheme(String scheme) |
void |
setValue(String value) |
String |
toString() |
public Identifier()
public static Identifier getBookIdIdentifier(List<Identifier> identifiers)
identifiers
- public String getScheme()
public void setScheme(String scheme)
public String getValue()
public void setValue(String value)
public void setBookId(boolean bookId)
public boolean isBookId()
Copyright © 2009–2013. All rights reserved.