org.apache.olingo.odata2.jpa.processor.core
Class ODataEntityParser

java.lang.Object
  extended by org.apache.olingo.odata2.jpa.processor.core.ODataEntityParser

public final class ODataEntityParser
extends Object


Constructor Summary
ODataEntityParser(ODataJPAContext context)
           
 
Method Summary
 UriInfo parseBindingLink(String link, Map<String,String> options)
           
 ODataEntry parseEntry(EdmEntitySet entitySet, InputStream content, String requestContentType, boolean merge)
           
 UriInfo parseLink(EdmEntitySet entitySet, InputStream content, String contentType)
           
 UriInfo parseLinkSegments(List<String> linkSegments, Map<String,String> options)
           
 UriInfo parseURISegment(int segmentFromIndex, int segmentToIndex)
           
 UriInfo parseURISegmentWithCustomOptions(int segmentFromIndex, int segmentToIndex, Map<String,String> options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODataEntityParser

public ODataEntityParser(ODataJPAContext context)
Method Detail

parseEntry

public final ODataEntry parseEntry(EdmEntitySet entitySet,
                                   InputStream content,
                                   String requestContentType,
                                   boolean merge)
                            throws ODataBadRequestException
Throws:
ODataBadRequestException

parseURISegmentWithCustomOptions

public final UriInfo parseURISegmentWithCustomOptions(int segmentFromIndex,
                                                      int segmentToIndex,
                                                      Map<String,String> options)
                                               throws ODataJPARuntimeException
Throws:
ODataJPARuntimeException

parseURISegment

public final UriInfo parseURISegment(int segmentFromIndex,
                                     int segmentToIndex)
                              throws ODataJPARuntimeException
Throws:
ODataJPARuntimeException

parseLink

public final UriInfo parseLink(EdmEntitySet entitySet,
                               InputStream content,
                               String contentType)
                        throws ODataJPARuntimeException
Throws:
ODataJPARuntimeException

parseLinkSegments

public UriInfo parseLinkSegments(List<String> linkSegments,
                                 Map<String,String> options)
                          throws ODataJPARuntimeException
Throws:
ODataJPARuntimeException

parseBindingLink

public UriInfo parseBindingLink(String link,
                                Map<String,String> options)
                         throws ODataJPARuntimeException
Throws:
ODataJPARuntimeException


Copyright © 2013-2014 The Apache Software Foundation. All Rights Reserved.