com.sun.syndication.feed.module
Interface SyModuleI

All Superinterfaces:
java.lang.Cloneable, CopyFrom, ModuleI, ToString
All Known Implementing Classes:
SyModule

public interface SyModuleI
extends ModuleI

Syndication Module.

Author:
Alejandro Abdelnur
See Also:
Syndication module.

Nested Class Summary
static class SyModuleI.Period
          Enumeration type for the 'update period' property of the Syndication module.
 
Field Summary
static SyModuleI.Period DAILY
           
static SyModuleI.Period HOURLY
           
static SyModuleI.Period MONTHLY
           
static java.lang.String URI
          URI of the Syndication Module (http://purl.org/rss/1.0/modules/syndication/).
static SyModuleI.Period WEEKLY
           
static SyModuleI.Period YEARLY
           
 
Method Summary
 java.util.Date getUpdateBase()
          Returns the Syndication module update base date.
 int getUpdateFrequency()
          Returns the Syndication module update frequency.
 SyModuleI.Period 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(SyModuleI.Period updatePeriod)
          Sets the Syndication module update period.
 
Methods inherited from interface com.sun.syndication.feed.module.ModuleI
clone, getUri
 
Methods inherited from interface com.sun.syndication.common.ToString
toString
 
Methods inherited from interface com.sun.syndication.common.CopyFrom
copyFrom, getInterface
 

Field Detail

URI

public static final java.lang.String URI
URI of the Syndication Module (http://purl.org/rss/1.0/modules/syndication/).

See Also:
Constant Field Values

HOURLY

public static final SyModuleI.Period HOURLY

DAILY

public static final SyModuleI.Period DAILY

WEEKLY

public static final SyModuleI.Period WEEKLY

MONTHLY

public static final SyModuleI.Period MONTHLY

YEARLY

public static final SyModuleI.Period YEARLY
Method Detail

getUpdatePeriod

public SyModuleI.Period getUpdatePeriod()
Returns the Syndication module update period.

Returns:
the Syndication module update period, null if none.

setUpdatePeriod

public void setUpdatePeriod(SyModuleI.Period updatePeriod)
Sets the Syndication module update period.

Parameters:
updatePeriod - the Syndication module update period to set, null if none.

getUpdateFrequency

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

Returns:
the Syndication module update frequency, null if none.

setUpdateFrequency

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

Parameters:
updateFrequency - the Syndication module update frequency to set, null if none.

getUpdateBase

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

Returns:
the Syndication module update base date, null if none.

setUpdateBase

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

Parameters:
updateBase - the Syndication module update base date to set, null if none.


Copyright © 2004 Sun Microsystems. All Rights Reserved.