|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.clapper.curn.parser.RSSLink
public class RSSLink
An RSSLink object describes a link to a URL, including any metadata about the URL's content (if available).
RSSItem,
RSSChannel| Nested Class Summary | |
|---|---|
static class |
RSSLink.Type
Link types. |
| Constructor Summary | |
|---|---|
RSSLink()
Create an empty RSSLink object. |
|
RSSLink(java.net.URL url,
java.lang.String mimeType,
RSSLink.Type linkType)
Create and populate a new RSSLink object. |
|
| Method Summary | |
|---|---|
RSSLink.Type |
getLinkType()
Get the link type for this link. |
java.lang.String |
getMIMEType()
Get the MIME type for this link. |
java.net.URL |
getURL()
Get the URL for this link. |
void |
setLinkType(RSSLink.Type linkType)
Set the link type for this link. |
void |
setMIMEType(java.lang.String mimeType)
Set the MIME type for this link. |
void |
setURL(java.net.URL url)
Set the URL for this link. |
java.lang.String |
toString()
Get the string representation of this link (the URL). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RSSLink()
RSSLink(URL,String,Type)
public RSSLink(java.net.URL url,
java.lang.String mimeType,
RSSLink.Type linkType)
url - the link's URLmimeType - the MIME type. Must not be null.linkType - the link type| Method Detail |
|---|
public java.net.URL getURL()
setURL(java.net.URL)public void setURL(java.net.URL url)
url - the URL, or null if not set yet.getURL()public java.lang.String getMIMEType()
setMIMEType(java.lang.String)public void setMIMEType(java.lang.String mimeType)
mimeType - the MIME Type, or null if not set yet.getMIMEType()public RSSLink.Type getLinkType()
setLinkType(org.clapper.curn.parser.RSSLink.Type)public void setLinkType(RSSLink.Type linkType)
linkType - the link Type, or null if not set yet.getLinkType()public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||