public class RssMacroParameters extends Object
org.xwiki.rendering.internal.macro.rss.RssMacro Macro.| Constructor and Description |
|---|
RssMacroParameters() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
String |
getFeed() |
URL |
getFeedURL() |
String |
getWidth() |
boolean |
isContent() |
boolean |
isDecoration() |
boolean |
isImage() |
void |
setContent(boolean content) |
void |
setCount(int count) |
void |
setDecoration(boolean decoration) |
void |
setFeed(String feed) |
void |
setImage(boolean image) |
void |
setWidth(String width) |
public String getFeed()
public void setFeed(String feed) throws org.xwiki.rendering.macro.parameter.MacroParameterException
feed - the RSS feed URL.org.xwiki.rendering.macro.parameter.MacroParameterException - if the feed URL is malformed.public void setImage(boolean image)
image - whether to display the feed's image.public boolean isImage()
public void setWidth(String width)
width - the width of the RSS box, that will dismiss potential CSS rules defining its default value.public String getWidth()
public void setCount(int count)
count - the number of feed items to display.public int getCount()
public URL getFeedURL()
public void setContent(boolean content)
content - if "true" displays the content of each feed in addition to the feed item linkpublic boolean isContent()
public void setDecoration(boolean decoration)
decoration - if "true" displays UI decorations around feed and feed entries (RSS feed icon, feed items in
boxes, etc).public boolean isDecoration()
Copyright © 2004–2016 XWiki. All rights reserved.