|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.tvanytime.resolution.CRID
public abstract class CRID
Interface for a Content Reference Identifier. (i.e. a CRID in TV Anytime terminology.)
Method Summary | |
---|---|
abstract boolean |
equals(java.lang.Object that)
Test two Content References for equality in a case insensitive fashion. |
abstract java.lang.String |
getAuthority()
Get the authority part of this Content Reference. |
abstract java.lang.String |
getData()
Get the data part of this Content Reference. |
abstract int |
hashCode()
Implementations will to override hashCode() to be consistent
with the equals() . |
static CRID |
newInstance(java.lang.String crString)
Method for creating a new instance of a content reference. |
abstract java.lang.String |
toURIString()
Returns the Content Reference as a valid Content Reference string. |
abstract java.lang.String |
toURNString()
Returns the Content Reference as a valid Content Reference string. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CRID newInstance(java.lang.String crString) throws InvalidCRIDException
crString
- A valid Content Reference string
InvalidCRIDException
- if the Content Reference string is invalidpublic abstract java.lang.String getAuthority()
public abstract java.lang.String getData()
public abstract java.lang.String toURIString()
newInstance()
).
public abstract java.lang.String toURNString()
newInstance()
, in
the form of a URN)
public abstract boolean equals(java.lang.Object that)
equals
in class java.lang.Object
that
- a CRID object to compare
public abstract int hashCode()
hashCode()
to be consistent
with the equals()
.
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |