|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object yarfraw.utils.extension.ExtensionUtils
public class ExtensionUtils
Method Summary | |
---|---|
static AdminExtension |
extractAdminExtension(List<Element> otherElements)
Extracts the well-formed web extension elements from the input list into an AdminExtension
object. |
static Atom03Extension |
extractAtom03Extension(List<Element> otherElements)
Extracts the Atom 0.3 extension elements that are not mapped to the core models from the input list into an Atom03Extension
object. |
static BloggerExtension |
extractBloggerExtension(List<Element> otherElements)
Extracts the well-formed web extension elements from the input list into an BloggerExtension
object. |
static DublinCoreExtension |
extractDublinCoreExtension(List<Element> otherElements)
Extracts the itunes extension elements from the input list into an DublinCoreExtension
object. |
static FeedburnerExtension |
extractFeedburnerExtension(List<Element> otherElements)
Extracts the feedburner extension elements from the input list into an FeedburnerExtension
object. |
static GeoRssExtension |
extractGeoRssExtension(List<Element> otherElements)
Extracts the Georss extension elements from the input list into an GeoRssExtension
object.The extracted elements will be removed from the original input list. |
static GoogleBaseExtension |
extractGoogleBaseExtension(List<Element> otherElements)
Extracts the googlebase extension elements from the input list into an GoogleBaseExtension
object. |
static ItunesExtension |
extractItunesExtension(List<Element> otherElements)
Extracts the itunes extension elements from the input list into an ItunesExtension
object. |
static MrssExtension |
extractMrssExtension(List<Element> otherElements)
Extracts the mrss extension elements from the input list into an MrssExtension
object.The extracted elements will be removed from the original input list. |
static SlashExtension |
extractSlashExtension(List<Element> otherElements)
Extracts the slash extension elements from the input list into an SlashExtension
object. |
static SyndicationExtension |
extractSyndicationExtension(List<Element> otherElements)
Extracts the well-formed web extension elements from the input list into an SyndicationExtension
object. |
static WellFormedWebExtension |
extractWellFormedWebExtension(List<Element> otherElements)
Extracts the well-formed web extension elements from the input list into an WellFormedWebExtension
object. |
static List<Element> |
toAdminAtomElements(AdminExtension extensionObject)
Converts the input AdminExtension object to an element list. |
static List<Element> |
toBloggerAtomElements(BloggerExtension extensionObject)
Converts the input BloggerExtension object to an element list. |
static List<Element> |
toDublinCoreElements(DublinCoreExtension extensionObject)
Converts the input DublinCoreExtension object to an element list. |
static List<Element> |
toFeedburnerElements(FeedburnerExtension extensionObject)
Converts the input FeedburnerExtension object to an element list. |
static List<Element> |
toGeoRssElements(GeoRssExtension extensionObject)
Converts the input GeoRssExtension object to an element list. |
static List<Element> |
toGoogleBaseElements(GoogleBaseExtension extensionObject)
Converts the input GoogleBaseExtension object to an element list. |
static List<Element> |
toItunesElements(ItunesExtension extensionObject)
Converts the input ItunesExtension object to an element list. |
static List<Element> |
toMrssElements(MrssExtension extensionObject)
Converts the input MrssExtension object to an element list. |
static List<Element> |
toSlahsElements(SlashExtension extensionObject)
Converts the input FeedburnerExtension object to an element list. |
static List<Element> |
toSyndicationElements(SyndicationExtension extensionObject)
Converts the input SyndicationExtension object to an element list. |
static List<Element> |
toWellFormedWebElements(WellFormedWebExtension extensionObject)
Converts the input WellFormedWebExtension object to an element list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Atom03Extension extractAtom03Extension(List<Element> otherElements) throws YarfrawException
Atom03Extension
object.
otherElements
- - any elements
Atom03Extension
object
YarfrawException
public static ItunesExtension extractItunesExtension(List<Element> otherElements) throws YarfrawException
ItunesExtension
object.
otherElements
- - any elements
ItunesExtension
object
YarfrawException
public static DublinCoreExtension extractDublinCoreExtension(List<Element> otherElements) throws YarfrawException
DublinCoreExtension
object.
otherElements
- - any elements
DublinCoreExtension
object
YarfrawException
public static WellFormedWebExtension extractWellFormedWebExtension(List<Element> otherElements) throws YarfrawException
WellFormedWebExtension
object.
otherElements
- - any elements
WellFormedWebExtension
object
YarfrawException
public static AdminExtension extractAdminExtension(List<Element> otherElements) throws YarfrawException
AdminExtension
object.
otherElements
- - any elements
AdminExtension
object
YarfrawException
public static FeedburnerExtension extractFeedburnerExtension(List<Element> otherElements) throws YarfrawException
FeedburnerExtension
object.
otherElements
- - any elements
FeedburnerExtension
object
YarfrawException
public static SlashExtension extractSlashExtension(List<Element> otherElements) throws YarfrawException
SlashExtension
object.
otherElements
- - any elements
SlashExtension
object
YarfrawException
public static BloggerExtension extractBloggerExtension(List<Element> otherElements) throws YarfrawException
BloggerExtension
object.
otherElements
- - any elements
BloggerExtension
object
YarfrawException
public static SyndicationExtension extractSyndicationExtension(List<Element> otherElements) throws YarfrawException
SyndicationExtension
object.
otherElements
- - any elements
SyndicationExtension
object
YarfrawException
public static GoogleBaseExtension extractGoogleBaseExtension(List<Element> otherElements) throws YarfrawException
GoogleBaseExtension
object.
otherElements
- - any elements
GoogleBaseExtension
object
YarfrawException
public static GeoRssExtension extractGeoRssExtension(List<Element> otherElements) throws YarfrawException
GeoRssExtension
object.
otherElements
- - any elements
GeoRssExtension
object
YarfrawException
public static MrssExtension extractMrssExtension(List<Element> otherElements) throws YarfrawException
MrssExtension
object.
otherElements
- - any elements
MrssExtension
object
YarfrawException
public static List<Element> toItunesElements(ItunesExtension extensionObject) throws YarfrawException
ItunesExtension
object to an element list.
extensionObject
- an valid ItunesExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toGeoRssElements(GeoRssExtension extensionObject) throws YarfrawException
GeoRssExtension
object to an element list.
extensionObject
- an valid GeoRssExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toGoogleBaseElements(GoogleBaseExtension extensionObject) throws YarfrawException
GoogleBaseExtension
object to an element list.
extensionObject
- an valid GoogleBaseExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toMrssElements(MrssExtension extensionObject) throws YarfrawException
MrssExtension
object to an element list.
extensionObject
- an valid MrssExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toWellFormedWebElements(WellFormedWebExtension extensionObject) throws YarfrawException
WellFormedWebExtension
object to an element list.
extensionObject
- an valid WellFormedWebExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toDublinCoreElements(DublinCoreExtension extensionObject) throws YarfrawException
DublinCoreExtension
object to an element list.
extensionObject
- an valid DublinCoreExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toSyndicationElements(SyndicationExtension extensionObject) throws YarfrawException
SyndicationExtension
object to an element list.
extensionObject
- an valid SyndicationExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toBloggerAtomElements(BloggerExtension extensionObject) throws YarfrawException
BloggerExtension
object to an element list.
extensionObject
- an valid BloggerExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toAdminAtomElements(AdminExtension extensionObject) throws YarfrawException
AdminExtension
object to an element list.
extensionObject
- an valid AdminExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toFeedburnerElements(FeedburnerExtension extensionObject) throws YarfrawException
FeedburnerExtension
object to an element list.
extensionObject
- an valid FeedburnerExtension
object
YarfrawException
- if conversion failedpublic static List<Element> toSlahsElements(SlashExtension extensionObject) throws YarfrawException
FeedburnerExtension
object to an element list.
extensionObject
- an valid FeedburnerExtension
object
YarfrawException
- if conversion failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |