com.sun.syndication.feed
インタフェース CopyFrom

既知のサブインタフェースの一覧:
DCModule, DCSubject, Module, SyModule, SyndContent, SyndEnclosure, SyndEntry, SyndFeed, SyndImage
既知の実装クラスの一覧:
DCModuleImpl, DCSubjectImpl, ModuleImpl, SyModuleImpl, SyndContentImpl, SyndEnclosureImpl, SyndEntryImpl, SyndFeedImpl, SyndImageImpl

public interface CopyFrom


メソッドの概要
 void copyFrom(java.lang.Object obj)
          Copies all the properties of the given bean into this one.
 java.lang.Class getInterface()
          Returns the interface the copyFrom works on.
 

メソッドの詳細

getInterface

java.lang.Class getInterface()
Returns the interface the copyFrom works on.

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

戻り値:
the interface the copyFrom works on.

copyFrom

void copyFrom(java.lang.Object obj)
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.

パラメータ:
obj - the instance to copy properties from.