|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gcapmedia.dab.epg.Link
public class Link
This is used to link to additional information or content. The url attribute gives the protocol and address of the link. The mimeValue attribute indicates the MIME type (RFC 2045) of any data linked to and must be used where it is applicable. The language attribute indicates the language of the descriptive information and is in the form of an xml:lang attribute and RFC 3066. The description attribute is used to describe the link. The expiryTime attribute indicates when a link will expire.
Field Summary | |
---|---|
protected java.lang.String |
description
Link description |
protected org.joda.time.DateTime |
expiryTime
Link expiry time |
protected java.util.Locale |
locale
Language locale |
protected java.lang.String |
mimeType
Link MIME type |
protected java.net.URL |
url
Link URL |
Constructor Summary | |
---|---|
Link(java.net.URL url)
Create a new link |
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
org.joda.time.DateTime |
getExpiryTime()
|
java.lang.String |
getLanguage()
|
java.lang.String |
getMimeType()
|
java.net.URL |
getUrl()
|
void |
setDescription(java.lang.String description)
Sets the link description |
void |
setExpiryTime(org.joda.time.DateTime expiryTime)
Sets the link expiry time |
void |
setLocale(java.util.Locale locale)
Sets the link locale |
void |
setMimeType(java.lang.String mimeType)
Sets the link MIME type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.net.URL url
protected java.lang.String mimeType
protected java.util.Locale locale
protected java.lang.String description
protected org.joda.time.DateTime expiryTime
Constructor Detail |
---|
public Link(java.net.URL url)
url
- Link URLMethod Detail |
---|
public java.net.URL getUrl()
public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
mimeType
- Link MIME typepublic java.lang.String getLanguage()
public void setLocale(java.util.Locale locale)
locale
- Link localepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- Link descriptionpublic org.joda.time.DateTime getExpiryTime()
public void setExpiryTime(org.joda.time.DateTime expiryTime)
expiryTime
- Link expiry time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |