Package com.rometools.modules.content
Class ContentModuleImpl
- java.lang.Object
-
- com.rometools.rome.feed.module.ModuleImpl
-
- com.rometools.modules.content.ContentModuleImpl
-
- All Implemented Interfaces:
ContentModule,CopyFrom,Module,Serializable,Cloneable
public class ContentModuleImpl extends ModuleImpl implements ContentModule
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.rometools.modules.content.ContentModule
RDF_URI, URI
-
-
Constructor Summary
Constructors Modifier Constructor Description ContentModuleImpl()protectedContentModuleImpl(Class<ContentModuleImpl> beanClass, String uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyFrom(CopyFrom obj)List<ContentItem>getContentItems()Contains a list of ContentItems that represent the "Original Syntax" set.List<String>getContents()Returns a List of Strings containing whatever new or original syntax items are in the element.List<String>getEncodeds()Returns a List of Strings containing the New Syntax Encoded values are in the element.Class<ContentModule>getInterface()voidsetContentItems(List<ContentItem> list)Contains a list of ContentItems that represent the "Original Syntax" set.voidsetContents(List<String> contents)Sets a List of Strings containing whatever new or original syntax items are in the element.voidsetEncodeds(List<String> encodeds)Sets a List of Strings containing the New Syntax Encoded values are in the element.StringtoString(String str)-
Methods inherited from class com.rometools.rome.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.rometools.modules.content.ContentModule
getUri
-
-
-
-
Constructor Detail
-
ContentModuleImpl
public ContentModuleImpl()
-
ContentModuleImpl
protected ContentModuleImpl(Class<ContentModuleImpl> beanClass, String uri)
-
-
Method Detail
-
getEncodeds
public List<String> getEncodeds()
Description copied from interface:ContentModuleReturns a List of Strings containing the New Syntax Encoded values are in the element.- Specified by:
getEncodedsin interfaceContentModule- Returns:
- List of content Strings
-
setEncodeds
public void setEncodeds(List<String> encodeds)
Description copied from interface:ContentModuleSets a List of Strings containing the New Syntax Encoded values are in the element.- Specified by:
setEncodedsin interfaceContentModule
-
getInterface
public Class<ContentModule> getInterface()
- Specified by:
getInterfacein interfaceCopyFrom
-
getContentItems
public List<ContentItem> getContentItems()
Description copied from interface:ContentModuleContains a list of ContentItems that represent the "Original Syntax" set.- Specified by:
getContentItemsin interfaceContentModule- Returns:
- List of ContentItems.
- See Also:
com.totsp.xml.syndication.content.ContentItem
-
setContentItems
public void setContentItems(List<ContentItem> list)
Description copied from interface:ContentModuleContains a list of ContentItems that represent the "Original Syntax" set.- Specified by:
setContentItemsin interfaceContentModule- See Also:
com.totsp.xml.syndication.content.ContentItem
-
getContents
public List<String> getContents()
Description copied from interface:ContentModuleReturns a List of Strings containing whatever new or original syntax items are in the element.- Specified by:
getContentsin interfaceContentModule- Returns:
- List of content Strings
-
setContents
public void setContents(List<String> contents)
Description copied from interface:ContentModuleSets a List of Strings containing whatever new or original syntax items are in the element.- Specified by:
setContentsin interfaceContentModule
-
toString
public String toString(String str)
- Specified by:
toStringin interfaceContentModule
-
-