|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.site.news.model.NewsModel
public class NewsModel
The <news> element is the root of
the news items.
The following table lists all of the possible child
elements.
| Constructor Summary | |
|---|---|
NewsModel()
|
|
| Method Summary | |
|---|---|
void |
addItem(Item item)
Method addItem |
boolean |
equals(java.lang.Object other)
Method equals |
java.util.List |
getItems()
Method getItems |
java.lang.String |
getModelEncoding()
|
int |
hashCode()
Method hashCode |
void |
removeItem(Item item)
Method removeItem |
void |
setItems(java.util.List items)
Set These are the news items to display. |
void |
setModelEncoding(java.lang.String modelEncoding)
|
java.lang.String |
toString()
Method toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NewsModel()
| Method Detail |
|---|
public void addItem(Item item)
item - public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - public java.util.List getItems()
public int hashCode()
hashCode in class java.lang.Objectpublic void removeItem(Item item)
item - public void setItems(java.util.List items)
items - public java.lang.String toString()
toString in class java.lang.Objectpublic void setModelEncoding(java.lang.String modelEncoding)
public java.lang.String getModelEncoding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||