org.odata4j.internal
Class InternalUtil

java.lang.Object
  extended by org.odata4j.internal.InternalUtil

public class InternalUtil
extends Object


Constructor Summary
InternalUtil()
           
 
Method Summary
static String getEntityRelId(List<String> keyPropertyNames, List<OProperty<?>> entityProperties, String entitySetName)
           
static String keyString(Object[] key)
           
static String keyString(Object key, boolean includePropName)
           
static XMLEventReader2 newXMLEventReader(Reader reader)
           
static String reflectionToString(Object obj)
           
static
<T> T
toEntity(Class<T> entityType, AtomFeedFormatParser.DataServicesAtomEntry dsae, FeedCustomizationMapping fcMapping)
           
static OEntity toOEntity(AtomFeedFormatParser.DataServicesAtomEntry dsae, FeedCustomizationMapping mapping)
           
static
<T> T
toPojo(Class<T> pojoClass, OEntity oe)
           
static String toString(DateTime utc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalUtil

public InternalUtil()
Method Detail

getEntityRelId

public static String getEntityRelId(List<String> keyPropertyNames,
                                    List<OProperty<?>> entityProperties,
                                    String entitySetName)

keyString

public static String keyString(Object[] key)

keyString

public static String keyString(Object key,
                               boolean includePropName)

newXMLEventReader

public static XMLEventReader2 newXMLEventReader(Reader reader)

reflectionToString

public static String reflectionToString(Object obj)

toEntity

public static <T> T toEntity(Class<T> entityType,
                             AtomFeedFormatParser.DataServicesAtomEntry dsae,
                             FeedCustomizationMapping fcMapping)

toOEntity

public static OEntity toOEntity(AtomFeedFormatParser.DataServicesAtomEntry dsae,
                                FeedCustomizationMapping mapping)

toPojo

public static <T> T toPojo(Class<T> pojoClass,
                           OEntity oe)

toString

public static String toString(DateTime utc)


http://odata4j.org