- 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()
protected
ContentModuleImpl(Class<ContentModuleImpl> beanClass, String uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyFrom(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()
void
setContentItems(List<ContentItem> list)
Contains a list of ContentItems that represent the "Original Syntax" set.void
setContents(List<String> contents)
Sets a List of Strings containing whatever new or original syntax items are in the element.void
setEncodeds(List<String> encodeds)
Sets a List of Strings containing the New Syntax Encoded values are in the element.String
toString(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:ContentModule
Returns a List of Strings containing the New Syntax Encoded values are in the element.- Specified by:
getEncodeds
in interfaceContentModule
- Returns:
- List of content Strings
-
setEncodeds
public void setEncodeds(List<String> encodeds)
Description copied from interface:ContentModule
Sets a List of Strings containing the New Syntax Encoded values are in the element.- Specified by:
setEncodeds
in interfaceContentModule
-
getInterface
public Class<ContentModule> getInterface()
- Specified by:
getInterface
in interfaceCopyFrom
-
getContentItems
public List<ContentItem> getContentItems()
Description copied from interface:ContentModule
Contains a list of ContentItems that represent the "Original Syntax" set.- Specified by:
getContentItems
in interfaceContentModule
- Returns:
- List of ContentItems.
- See Also:
com.totsp.xml.syndication.content.ContentItem
-
setContentItems
public void setContentItems(List<ContentItem> list)
Description copied from interface:ContentModule
Contains a list of ContentItems that represent the "Original Syntax" set.- Specified by:
setContentItems
in interfaceContentModule
- See Also:
com.totsp.xml.syndication.content.ContentItem
-
getContents
public List<String> getContents()
Description copied from interface:ContentModule
Returns a List of Strings containing whatever new or original syntax items are in the element.- Specified by:
getContents
in interfaceContentModule
- Returns:
- List of content Strings
-
setContents
public void setContents(List<String> contents)
Description copied from interface:ContentModule
Sets a List of Strings containing whatever new or original syntax items are in the element.- Specified by:
setContents
in interfaceContentModule
-
toString
public String toString(String str)
- Specified by:
toString
in interfaceContentModule
-
-