cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.utils
Class ConverterUtils

java.lang.Object
  extended by cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.utils.ConverterUtils

public final class ConverterUtils
extends java.lang.Object

Author:
Jimmy

Method Summary
static Box toBox(Element boxElm)
           
static BoxFile toBoxFile(Element infoElm)
           
static BoxFolder toBoxFolder(Element folderElm)
           
static java.util.List toFriendsList(Element friendsElm)
           
static BoxSubscription toSubscription(Element subscriptionElm)
           
static java.util.List transferTags2List(Element tagsElm)
          convert tags element to tag list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

transferTags2List

public static java.util.List transferTags2List(Element tagsElm)
convert tags element to tag list.

Parameters:
tagsElm - tags element
Returns:
object list

toBoxFolder

public static BoxFolder toBoxFolder(Element folderElm)
Parameters:
folderElm - folder element
Returns:
object

toBoxFile

public static BoxFile toBoxFile(Element infoElm)
Parameters:
infoElm - info element
Returns:
object

toFriendsList

public static java.util.List toFriendsList(Element friendsElm)
Parameters:
friendsElm - friends element
Returns:
object list

toBox

public static Box toBox(Element boxElm)
Parameters:
boxElm - box element
Returns:
object

toSubscription

public static BoxSubscription toSubscription(Element subscriptionElm)
Parameters:
subscriptionElm - subscription element
Returns:
object