class ISAN extends StandardNumber implements java.lang.Cloneable, java.lang.Comparable<ISAN>
ISO 15706 International Standard Audiovisual Number (ISAN).
The International Standard Audiovisual Number (ISAN) is a unique identifier for audiovisual works and related versions, similar to ISBN for books.
It was developed within an ISO (International Organisation for Standardisation) TC46/SC9 working group. ISAN is managed and run by ISAN-IA.
The ISAN standard (ISO standard 15706:2002 and ISO 15706-2) is recommended or required as the audiovisual identifier of choice for producers, studios, broadcasters, Internet media providers and video games publishers who need to encode, track, and distribute video in a variety of formats.
It provides a unique, internationally recognized and permanent reference number for each audiovisual work and related versions registered in the ISAN system.
ISAN identifies works throughout their entire life cycle from conception, to production, to distribution and consumption.
ISANs can be incorporated in both digital and physical media, such as theatrical release prints, DVDs, publications, advertising, marketing materials and packaging, as well as licensing contracts to uniquely identify works.
The ISAN identifier is incorporated in many draft and final standards such as AACS, DCI, MPEG, DVB, and ATSC.
Modifier and Type | Field and Description |
---|---|
private static MOD3736 |
check |
private java.lang.String |
formatted |
private static java.util.regex.Pattern |
PATTERN |
private boolean |
versioned |
type, value
Modifier | Constructor and Description |
---|---|
protected |
ISAN() |
Modifier and Type | Method and Description |
---|---|
private boolean |
check() |
private java.lang.String |
clean(java.lang.String value) |
java.lang.Object |
clone()
Returns a clone if the implementation is cloneable.
|
int |
compareTo(ISAN isan) |
ISAN |
createChecksum(boolean createWithChecksum)
Indicate that a correct check sum should be computed.
|
boolean |
equals(java.lang.Object object) |
java.lang.String |
format()
Return a formatted value of this standard number
This is best for human-readable representation, but is
not necessarily a format for computation.
|
java.util.Collection<java.lang.String> |
getTypedVariants() |
int |
hashCode() |
boolean |
isValid()
Check this number for validity.
|
ISAN |
normalize()
Normalize the value by removing all unwanted characters or
replacing characters with the ones required for verification.
|
java.lang.String |
normalizedValue()
Return normalized value of this standard number.
|
ISAN |
reset() |
ISAN |
verify()
Verify the number.
|
ISAN |
versioned() |
set, type
getInstance, getInstance
private static final java.util.regex.Pattern PATTERN
private static final MOD3736 check
private java.lang.String formatted
private boolean versioned
public int compareTo(ISAN isan)
compareTo
in interface java.lang.Comparable<ISAN>
public ISAN createChecksum(boolean createWithChecksum)
StandardNumber
Indicate that a correct check sum should be computed.
createChecksum
in class StandardNumber
createWithChecksum
- if checksum is includedpublic ISAN normalize()
StandardNumber
Normalize the value by removing all unwanted characters or replacing characters with the ones required for verification.
normalize
in class StandardNumber
public boolean isValid()
StandardNumber
Check this number for validity.
isValid
in class StandardNumber
public ISAN verify()
StandardNumber
Verify the number.
verify
in class StandardNumber
public java.lang.String normalizedValue()
StandardNumber
Return normalized value of this standard number. In most cases, this is also the canonical form of the standard number. This is a representation without unneccessary characters, useful for computation purposes, like comparing for equivalence.
normalizedValue
in class StandardNumber
public java.lang.String format()
StandardNumber
Return a formatted value of this standard number This is best for human-readable representation, but is not necessarily a format for computation.
format
in class StandardNumber
public ISAN versioned()
public ISAN reset()
reset
in class StandardNumber
public java.util.Collection<java.lang.String> getTypedVariants()
getTypedVariants
in class StandardNumber
private boolean check()
private java.lang.String clean(java.lang.String value)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
StandardNumberSpi
Returns a clone if the implementation is cloneable.
clone
in class StandardNumberSpi
java.lang.CloneNotSupportedException
- if this is called on an
implementation that does not support Cloneable