yarfraw.mapping.forward.impl
Class ToAtom10ChannelImpl
java.lang.Object
yarfraw.mapping.forward.impl.ToAtom10ChannelImpl
- All Implemented Interfaces:
- ToAtom10Channel, Functor<JAXBElement<FeedType>,ChannelFeed,YarfrawException>
public class ToAtom10ChannelImpl
- extends Object
- implements ToAtom10Channel
Util methods for mapping Yarfraw core model to Atom10 Jaxb model
- Author:
- jliang
Method Summary |
JAXBElement<FeedType> |
execute(ChannelFeed ch)
atomEntry =
element atom:entry {
atomCommonAttributes,
(atomAuthor*
& atomCategory*
& atomContent?
& atomContributor*
& atomId
& atomLink*
& atomPublished?
& atomRights?
& atomSource?
& atomSummary?
& atomTitle
& atomUpdated
& extensionElement*)
} |
static ToAtom10Channel |
getInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ToAtom10Channel getInstance()
execute
public JAXBElement<FeedType> execute(ChannelFeed ch)
throws YarfrawException
- atomEntry =
element atom:entry {
atomCommonAttributes,
(atomAuthor*
& atomCategory*
& atomContent?
& atomContributor*
& atomId
& atomLink*
& atomPublished?
& atomRights?
& atomSource?
& atomSummary?
& atomTitle
& atomUpdated
& extensionElement*)
}
- Specified by:
execute
in interface Functor<JAXBElement<FeedType>,ChannelFeed,YarfrawException>
- Throws:
YarfrawException
Copyright © 2008. All Rights Reserved.