|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonettic.mrss.Builder
public class Builder
Main class containing methods for generating MRSS feeds. Generating is possible by means of the objects hierarchically representing nods of MRSS or from a list of separate elements.
| Constructor Summary | |
|---|---|
Builder()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
makeMRSSFromChannel(MRSSChannel channel)
|
java.lang.String |
makeMRSSFromElements(java.util.List<MRSSElement> MRSSData)
Return MRSS feed from well formed MRSSElement list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Builder()
| Method Detail |
|---|
public java.lang.String makeMRSSFromChannel(MRSSChannel channel)
throws java.lang.Exception
channel - channel node, which should be in generated MRSS.
java.lang.Exception - if channel have not any items.
public java.lang.String makeMRSSFromElements(java.util.List<MRSSElement> MRSSData)
throws java.lang.Exception
MRSSData - list with elements
java.lang.Exception - if input data is not weel formed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||