|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.intabulas.sandler.SyndicationFactory
public class SyndicationFactory
SyndicationFactory
Field Summary |
---|
Constructor Summary | |
---|---|
SyndicationFactory()
Allow override |
Method Summary | |
---|---|
static Link |
createAlternateLink(String href)
Convenience method for building the oft-needed "alternate" link |
static Link |
createAlternateLink(String href,
String title)
Convenience method for building the oft-needed "alternate" link |
static Entry |
createEntry(Content content,
String title,
String id,
Link alternate,
Date issued,
Date modified)
Construct a valid Atom Entry with some content |
static Entry |
createEntry(String title,
String id,
Link alternate,
Date issued,
Date modified)
Construct a valid Atom Entry without any content |
static Content |
createEscapedContent(String body)
Create text/plain escaped Content |
static Feed |
createFeed(Person author,
String title,
Link alternate,
Date modified)
Construct a valid Atom Feed |
static Person |
createPerson(String name,
String email,
String url)
Create new instance of an Person type |
static Content |
createTextXmlContent(String body)
Create text/xml Content (does not validate!) |
static Entry |
newSyndicationEntry()
Create a new/empty Atom Entry instance |
static Entry |
newSyndicationEntry(String entry)
Create a new/empty Atom Entry instance from a String representation of an Entry |
static Feed |
newSyndicationFeed()
Create a new/empty Atom Feed instance |
static Feed |
newSyndicationFeed(String feed)
Create a new/empty Atom Feed instance from a String representation of a Feed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyndicationFactory()
Method Detail |
---|
public static Feed newSyndicationFeed()
public static Feed newSyndicationFeed(String feed) throws FeedMarshallException
feed
- a String containing a Atom Feed document
FeedMarshallException
public static Entry newSyndicationEntry()
public static Entry newSyndicationEntry(String entry) throws FeedMarshallException
entry
- a String containinh a Atom Entry document
FeedMarshallException
public static Person createPerson(String name, String email, String url)
public static Content createEscapedContent(String body)
public static Content createTextXmlContent(String body)
public static Link createAlternateLink(String href, String title)
public static Link createAlternateLink(String href)
public static Feed createFeed(Person author, String title, Link alternate, Date modified)
public static Entry createEntry(String title, String id, Link alternate, Date issued, Date modified)
public static Entry createEntry(Content content, String title, String id, Link alternate, Date issued, Date modified)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |