Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.feed.module
Class SyModuleImpl  view SyModuleImpl download SyModuleImpl.java

java.lang.Object
  extended bycom.sun.syndication.feed.module.ModuleImpl
      extended bycom.sun.syndication.feed.module.SyModuleImpl
All Implemented Interfaces:
java.lang.Cloneable, com.sun.syndication.feed.CopyFrom, Module, java.io.Serializable, SyModule

public class SyModuleImpl
extends ModuleImpl
implements SyModule

Syndication ModuleImpl, default implementation.


Field Summary
private  java.util.Date _updateBase
           
private  int _updateFrequency
           
private  java.lang.String _updatePeriod
           
private static com.sun.syndication.feed.impl.CopyFromHelper COPY_FROM_HELPER
           
private static java.util.Set PERIODS
           
 
Fields inherited from class com.sun.syndication.feed.module.ModuleImpl
 
Fields inherited from interface com.sun.syndication.feed.module.SyModule
DAILY, HOURLY, MONTHLY, URI, WEEKLY, YEARLY
 
Constructor Summary
SyModuleImpl()
          Default constructor.
 
Method Summary
 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.
 java.util.Date getUpdateBase()
          Returns the Syndication module update base date.
 int getUpdateFrequency()
          Returns the Syndication module update frequency.
 java.lang.String getUpdatePeriod()
          Returns the Syndication module update period.
 void setUpdateBase(java.util.Date updateBase)
          Sets the Syndication module update base date.
 void setUpdateFrequency(int updateFrequency)
          Sets the Syndication module update frequency.
 void setUpdatePeriod(java.lang.String updatePeriod)
          Sets the Syndication module update period.
 
Methods inherited from class com.sun.syndication.feed.module.ModuleImpl
clone, equals, getUri, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.syndication.feed.module.Module
clone, getUri
 

Field Detail

PERIODS

private static final java.util.Set PERIODS

_updatePeriod

private java.lang.String _updatePeriod

_updateFrequency

private int _updateFrequency

_updateBase

private java.util.Date _updateBase

COPY_FROM_HELPER

private static final com.sun.syndication.feed.impl.CopyFromHelper COPY_FROM_HELPER
Constructor Detail

SyModuleImpl

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

Method Detail

getUpdatePeriod

public java.lang.String getUpdatePeriod()
Returns the Syndication module update period.

Specified by:
getUpdatePeriod in interface SyModule

setUpdatePeriod

public void setUpdatePeriod(java.lang.String updatePeriod)
Sets the Syndication module update period.

Specified by:
setUpdatePeriod in interface SyModule

getUpdateFrequency

public int getUpdateFrequency()
Returns the Syndication module update frequency.

Specified by:
getUpdateFrequency in interface SyModule

setUpdateFrequency

public void setUpdateFrequency(int updateFrequency)
Sets the Syndication module update frequency.

Specified by:
setUpdateFrequency in interface SyModule

getUpdateBase

public java.util.Date getUpdateBase()
Returns the Syndication module update base date.

Specified by:
getUpdateBase in interface SyModule

setUpdateBase

public void setUpdateBase(java.util.Date updateBase)
Sets the Syndication module update base date.

Specified by:
setUpdateBase in interface SyModule

getInterface

public java.lang.Class getInterface()
Description copied from interface: com.sun.syndication.feed.CopyFrom
Returns the interface the copyFrom works on.

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

Specified by:
getInterface in interface com.sun.syndication.feed.CopyFrom

copyFrom

public void copyFrom(java.lang.Object obj)
Description copied from interface: com.sun.syndication.feed.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.

Specified by:
copyFrom in interface com.sun.syndication.feed.CopyFrom