yarfraw.mapping.forward.impl
Class Atom10MappingUtils

java.lang.Object
  extended by yarfraw.mapping.forward.impl.Atom10MappingUtils

public class Atom10MappingUtils
extends Object

Util methods for mapping Yarfraw core model to Atom10 Jaxb model

Author:
jliang

Method Summary
static IdType toAtomId(Id in)
           
static CategoryType toCategoryType(CategorySubject in)
           
static ContentType toContent(Content in)
           
static EntryType toEntry(ItemEntry item)
           
static IconType toIcon(Image in)
           
static LinkType toLink(Link link)
           
static PersonType toPersonType(Person p)
           
static TextType toTextType(Text in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toLink

public static LinkType toLink(Link link)

toPersonType

public static PersonType toPersonType(Person p)

toEntry

public static EntryType toEntry(ItemEntry item)
                         throws YarfrawException
Throws:
YarfrawException

toContent

public static ContentType toContent(Content in)

toAtomId

public static IdType toAtomId(Id in)

toCategoryType

public static CategoryType toCategoryType(CategorySubject in)

toTextType

public static TextType toTextType(Text in)

toIcon

public static IconType toIcon(Image in)


Copyright © 2008. All Rights Reserved.