public class ContentModuleImpl extends ModuleImpl implements ContentModule
RDF_URI, URI
Modifier | Constructor and Description |
---|---|
|
ContentModuleImpl() |
protected |
ContentModuleImpl(Class<ContentModuleImpl> beanClass,
String uri) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(CopyFrom obj)
Copies all the properties of the given bean into this one.
|
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()
Returns the interface the copyFrom works on.
|
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) |
clone, equals, getUri, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getUri
public ContentModuleImpl()
protected ContentModuleImpl(Class<ContentModuleImpl> beanClass, String uri)
public List<String> getEncodeds()
ContentModule
getEncodeds
in interface ContentModule
public void setEncodeds(List<String> encodeds)
ContentModule
setEncodeds
in interface ContentModule
public void copyFrom(CopyFrom obj)
CopyFrom
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.
public Class<ContentModule> getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface CopyFrom
public List<ContentItem> getContentItems()
ContentModule
getContentItems
in interface ContentModule
com.totsp.xml.syndication.content.ContentItem
public void setContentItems(List<ContentItem> list)
ContentModule
setContentItems
in interface ContentModule
com.totsp.xml.syndication.content.ContentItem
public List<String> getContents()
ContentModule
getContents
in interface ContentModule
public void setContents(List<String> contents)
ContentModule
setContents
in interface ContentModule
public String toString(String str)
toString
in interface ContentModule
Copyright © 2019. All rights reserved.