|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.module.ModuleImpl
com.sun.syndication.feed.module.sle.SimpleListExtensionImpl
public class SimpleListExtensionImpl
Field Summary |
---|
Fields inherited from interface com.sun.syndication.feed.module.sle.SimpleListExtension |
---|
URI |
Constructor Summary | |
---|---|
SimpleListExtensionImpl()
Creates a new instance of SimpleListExtensionImpl |
Method Summary | |
---|---|
void |
copyFrom(java.lang.Object obj)
Copies all the properties of the given bean into this one. |
Group[] |
getGroupFields()
The cf:group element is intended to inform the client that the property to which it refers is one that is “groupable� – that is, that the client should provide a user interface that allows the user to group or filter on the values of that property. |
java.lang.Class |
getInterface()
Returns the interface the copyFrom works on. |
Sort[] |
getSortFields()
The cf:sort element is intended to inform the client that the property to which it refers is one that is “sortable� – that is, that the client should provide a user interface that allows the user to sort on that property. |
java.lang.String |
getTreatAs()
This XML element allows the publisher of a feed document to indicate to the consumers of the feed that the feed is intended to be consumed as a list. |
java.lang.String |
getUri()
Returns the URI of the module. |
void |
setGroupFields(Group[] groupFields)
The cf:group element is intended to inform the client that the property to which it refers is one that is “groupable� – that is, that the client should provide a user interface that allows the user to group or filter on the values of that property. |
void |
setSortFields(Sort[] sortFields)
The cf:sort element is intended to inform the client that the property to which it refers is one that is “sortable� – that is, that the client should provide a user interface that allows the user to sort on that property. |
void |
setTreatAs(java.lang.String treatAs)
This XML element allows the publisher of a feed document to indicate to the consumers of the feed that the feed is intended to be consumed as a list. |
Methods inherited from class com.sun.syndication.feed.module.ModuleImpl |
---|
clone, equals, 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 |
Constructor Detail |
---|
public SimpleListExtensionImpl()
Method Detail |
---|
public void setGroupFields(Group[] groupFields)
SimpleListExtension
setGroupFields
in interface SimpleListExtension
groupFields
- Array of types.Group objects.public Group[] getGroupFields()
SimpleListExtension
getGroupFields
in interface SimpleListExtension
public java.lang.Class getInterface()
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface com.sun.syndication.feed.CopyFrom
public void setSortFields(Sort[] sortFields)
SimpleListExtension
setSortFields
in interface SimpleListExtension
sortFields
- Array of types.Sort objectspublic Sort[] getSortFields()
SimpleListExtension
getSortFields
in interface SimpleListExtension
public void setTreatAs(java.lang.String treatAs)
SimpleListExtension
setTreatAs
in interface SimpleListExtension
treatAs
- treatAs valuepublic java.lang.String getTreatAs()
SimpleListExtension
getTreatAs
in interface SimpleListExtension
public java.lang.String getUri()
getUri
in interface com.sun.syndication.feed.module.Module
getUri
in class com.sun.syndication.feed.module.ModuleImpl
public void copyFrom(java.lang.Object obj)
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.
copyFrom
in interface com.sun.syndication.feed.CopyFrom
obj
- the instance to copy properties from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |