|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.syndication.feed.synd.SyndEnclosureImpl
public class SyndEnclosureImpl
| Constructor Summary | |
|---|---|
SyndEnclosureImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object. |
void |
copyFrom(java.lang.Object obj)
Copies all the properties of the given bean into this one. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
java.lang.Class |
getInterface()
Returns the interface the copyFrom works on. |
long |
getLength()
Returns the enclosure length. |
java.lang.String |
getType()
Returns the enclosure type. |
java.lang.String |
getUrl()
Returns the enclosure URL. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setLength(long length)
Sets the enclosure length. |
void |
setType(java.lang.String type)
Sets the enclosure type. |
void |
setUrl(java.lang.String url)
Sets the enclosure URL. |
java.lang.String |
toString()
Returns the String representation for the object. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SyndEnclosureImpl()
| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getUrl()
getUrl in interface SyndEnclosurepublic void setUrl(java.lang.String url)
setUrl in interface SyndEnclosureurl - the enclosure URL to set, null if none.public long getLength()
getLength in interface SyndEnclosurepublic void setLength(long length)
setLength in interface SyndEnclosurelength - the enclosure length to set, null if none.public java.lang.String getType()
getType in interface SyndEnclosurepublic void setType(java.lang.String type)
setType in interface SyndEnclosuretype - the enclosure type to set, null if none.public java.lang.Class getInterface()
CopyFromThis is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface in interface CopyFrompublic void copyFrom(java.lang.Object obj)
CopyFromAny existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
copyFrom in interface CopyFromobj - the instance to copy properties from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||