com.sun.syndication.feed.synd
クラス SyndContentImpl

java.lang.Object
  上位を拡張 com.sun.syndication.feed.synd.SyndContentImpl
すべての実装されたインタフェース:
CopyFrom, SyndContent, java.io.Serializable, java.lang.Cloneable

public class SyndContentImpl
extends java.lang.Object
implements java.io.Serializable, SyndContent

Bean for content of SyndFeedImpl entries.

関連項目:
直列化された形式

コンストラクタの概要
SyndContentImpl()
          Default constructor.
 
メソッドの概要
 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.
 java.lang.String getMode()
          Returns the content mode.
 java.lang.String getType()
          Returns the content type.
 java.lang.String getValue()
          Returns the content value.
 int hashCode()
          Returns a hashcode value for the object.
 void setMode(java.lang.String mode)
          Sets the content mode.
 void setType(java.lang.String type)
          Sets the content type.
 void setValue(java.lang.String value)
          Sets the content value.
 java.lang.String toString()
          Returns the String representation for the object.
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

SyndContentImpl

public SyndContentImpl()
Default constructor. All properties are set to null.

メソッドの詳細

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a deep 'bean' clone of the object.

定義:
インタフェース SyndContent 内の clone
オーバーライド:
クラス java.lang.Object 内の clone
戻り値:
a clone of the object.
例外:
java.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.

equals

public 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.Object 内の equals
パラメータ:
other - he reference object with which to compare.
戻り値:
true if 'this' object is equal to the 'other' object.

hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.

オーバーライド:
クラス java.lang.Object 内の hashCode
戻り値:
the hashcode of the bean object.

toString

public java.lang.String toString()
Returns the String representation for the object.

オーバーライド:
クラス java.lang.Object 内の toString
戻り値:
String representation for the object.

getType

public java.lang.String getType()
Returns the content type.

When used for the description of an entry, if null 'text/plain' must be assumed.

定義:
インタフェース SyndContent 内の getType
戻り値:
the content type, null if none.

setType

public void setType(java.lang.String type)
Sets the content type.

When used for the description of an entry, if null 'text/plain' must be assumed.

定義:
インタフェース SyndContent 内の setType
パラメータ:
type - the content type to set, null if none.

getMode

public java.lang.String getMode()
Returns the content mode.

定義:
インタフェース SyndContent 内の getMode
戻り値:
the content mode, null if none.

setMode

public void setMode(java.lang.String mode)
Sets the content mode.

定義:
インタフェース SyndContent 内の setMode
パラメータ:
type - the content mode to set, null if none.

getValue

public java.lang.String getValue()
Returns the content value.

定義:
インタフェース SyndContent 内の getValue
戻り値:
the content value, null if none.

setValue

public void setValue(java.lang.String value)
Sets the content value.

定義:
インタフェース SyndContent 内の setValue
パラメータ:
value - the content value to set, null if none.

getInterface

public java.lang.Class getInterface()
インタフェース CopyFrom の記述:
Returns the interface the copyFrom works on.

This is useful when dealing with properties that may have multiple implementations. For example, Module.

定義:
インタフェース CopyFrom 内の getInterface
戻り値:
the interface the copyFrom works on.

copyFrom

public void copyFrom(java.lang.Object obj)
インタフェース CopyFrom の記述:
Copies all the properties of the given bean into this one.

Any 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 内の copyFrom
パラメータ:
obj - the instance to copy properties from.