public class RSSMacroParameters extends Object
feed
property, a String
is a well-formed URL, and evaluating the count
property against a
proposed number of items, in light of the possibility that count
may not have been defined.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ALIGNMENT |
static int |
UNDEFINED |
Constructor and Description |
---|
RSSMacroParameters() |
Modifier and Type | Method and Description |
---|---|
int |
evalCount(int proposed)
Given
proposed items and the current value of our count property, how many items should
be processed? If count is undefined or greater than proposed , return
proposed , otherwise return count . |
String |
getAlign() |
int |
getCount() |
String |
getFeed() |
URL |
getFeedURL() |
boolean |
isCss() |
boolean |
isFull() |
boolean |
isImg() |
boolean |
isSearch() |
void |
setAlign(String align) |
void |
setCount(int count) |
void |
setCss(boolean css) |
void |
setFeed(String feed) |
void |
setFull(boolean full) |
void |
setImg(boolean img) |
void |
setSearch(boolean search) |
public static final String DEFAULT_ALIGNMENT
public static final int UNDEFINED
public String getFeed()
public void setFeed(String feed) throws MalformedURLException
MalformedURLException
public void setAlign(String align)
public String getAlign()
public void setImg(boolean img)
public boolean isImg()
public void setCss(boolean css)
public boolean isCss()
public void setCount(int count)
public int getCount()
public URL getFeedURL()
public int evalCount(int proposed)
proposed
items and the current value of our count
property, how many items should
be processed? If count
is undefined or greater than proposed
, return
proposed
, otherwise return count
.proposed
- public void setFull(boolean full)
public boolean isFull()
public void setSearch(boolean search)
public boolean isSearch()
Copyright © 2004–2014 XWiki. All rights reserved.