<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!-- NewPage --> | |
<html lang="en"> | |
<head> | |
<!-- Generated by javadoc (1.8.0_92) on Wed Dec 06 14:36:22 CET 2017 --> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>UriParser (olingo-odata2-parent 2.0.10 API)</title> | |
<meta name="date" content="2017-12-06"> | |
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> | |
<script type="text/javascript" src="../../../../../../script.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"><!-- | |
try { | |
if (location.href.indexOf('is-external=true') == -1) { | |
parent.document.title="UriParser (olingo-odata2-parent 2.0.10 API)"; | |
} | |
} | |
catch(err) { | |
} | |
//--> | |
var methods = {"i0":6,"i1":6,"i2":9,"i3":9,"i4":6,"i5":9,"i6":9,"i7":6,"i8":6,"i9":9,"i10":6,"i11":9,"i12":6}; | |
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; | |
var altColor = "altColor"; | |
var rowColor = "rowColor"; | |
var tableTab = "tableTab"; | |
var activeTableTab = "activeTableTab"; | |
</script> | |
<noscript> | |
<div>JavaScript is disabled on your browser.</div> | |
</noscript> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<div class="topNav"><a name="navbar.top"> | |
<!-- --> | |
</a> | |
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> | |
<a name="navbar.top.firstrow"> | |
<!-- --> | |
</a> | |
<ul class="navList" title="Navigation"> | |
<li><a href="../../../../../../overview-summary.html">Overview</a></li> | |
<li><a href="package-summary.html">Package</a></li> | |
<li class="navBarCell1Rev">Class</li> | |
<li><a href="class-use/UriParser.html">Use</a></li> | |
<li><a href="package-tree.html">Tree</a></li> | |
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> | |
<li><a href="../../../../../../index-all.html">Index</a></li> | |
<li><a href="../../../../../../help-doc.html">Help</a></li> | |
</ul> | |
</div> | |
<div class="subNav"> | |
<ul class="navList"> | |
<li><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriNotMatchingException.html" title="class in org.apache.olingo.odata2.api.uri"><span class="typeNameLink">Prev Class</span></a></li> | |
<li><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriSyntaxException.html" title="class in org.apache.olingo.odata2.api.uri"><span class="typeNameLink">Next Class</span></a></li> | |
</ul> | |
<ul class="navList"> | |
<li><a href="../../../../../../index.html?org/apache/olingo/odata2/api/uri/UriParser.html" target="_top">Frames</a></li> | |
<li><a href="UriParser.html" target="_top">No Frames</a></li> | |
</ul> | |
<ul class="navList" id="allclasses_navbar_top"> | |
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> | |
</ul> | |
<div> | |
<script type="text/javascript"><!-- | |
allClassesLink = document.getElementById("allclasses_navbar_top"); | |
if(window==top) { | |
allClassesLink.style.display = "block"; | |
} | |
else { | |
allClassesLink.style.display = "none"; | |
} | |
//--> | |
</script> | |
</div> | |
<div> | |
<ul class="subNavList"> | |
<li>Summary: </li> | |
<li>Nested | </li> | |
<li>Field | </li> | |
<li><a href="#constructor.summary">Constr</a> | </li> | |
<li><a href="#method.summary">Method</a></li> | |
</ul> | |
<ul class="subNavList"> | |
<li>Detail: </li> | |
<li>Field | </li> | |
<li><a href="#constructor.detail">Constr</a> | </li> | |
<li><a href="#method.detail">Method</a></li> | |
</ul> | |
</div> | |
<a name="skip.navbar.top"> | |
<!-- --> | |
</a></div> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<div class="header"> | |
<div class="subTitle">org.apache.olingo.odata2.api.uri</div> | |
<h2 title="Class UriParser" class="title">Class UriParser</h2> | |
</div> | |
<div class="contentContainer"> | |
<ul class="inheritance"> | |
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> | |
<li> | |
<ul class="inheritance"> | |
<li>org.apache.olingo.odata2.api.uri.UriParser</li> | |
</ul> | |
</li> | |
</ul> | |
<div class="description"> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<hr> | |
<br> | |
<pre>public abstract class <span class="typeNameLabel">UriParser</span> | |
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> | |
<div class="block">Wrapper for UriParser functionality.</div> | |
</li> | |
</ul> | |
</div> | |
<div class="summary"> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<ul class="blockList"> | |
<li class="blockList"><a name="constructor.summary"> | |
<!-- --> | |
</a> | |
<h3>Constructor Summary</h3> | |
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> | |
<caption><span>Constructors</span><span class="tabEnd"> </span></caption> | |
<tr> | |
<th class="colOne" scope="col">Constructor and Description</th> | |
</tr> | |
<tr class="altColor"> | |
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#UriParser--">UriParser</a></span>()</code> </td> | |
</tr> | |
</table> | |
</li> | |
</ul> | |
<!-- ========== METHOD SUMMARY =========== --> | |
<ul class="blockList"> | |
<li class="blockList"><a name="method.summary"> | |
<!-- --> | |
</a> | |
<h3>Method Summary</h3> | |
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> | |
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> | |
<tr> | |
<th class="colFirst" scope="col">Modifier and Type</th> | |
<th class="colLast" scope="col">Method and Description</th> | |
</tr> | |
<tr id="i0" class="altColor"> | |
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/ExpandSelectTreeNode.html" title="class in org.apache.olingo.odata2.api.uri">ExpandSelectTreeNode</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#buildExpandSelectTree-java.util.List-java.util.List-">buildExpandSelectTree</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/SelectItem.html" title="interface in org.apache.olingo.odata2.api.uri">SelectItem</a>> select, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/NavigationPropertySegment.html" title="interface in org.apache.olingo.odata2.api.uri">NavigationPropertySegment</a>>> expand)</code> | |
<div class="block">Creates an optimized expression tree out of $expand and $select expressions.</div> | |
</td> | |
</tr> | |
<tr id="i1" class="rowColor"> | |
<td class="colFirst"><code>protected abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#buildPathSegment-java.lang.String-java.util.Map-">buildPathSegment</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>> matrixParameters)</code> | |
<div class="block">Creates an path segment object.</div> | |
</td> | |
</tr> | |
<tr id="i2" class="altColor"> | |
<td class="colFirst"><code>static <a href="../../../../../../org/apache/olingo/odata2/api/uri/ExpandSelectTreeNode.html" title="class in org.apache.olingo.odata2.api.uri">ExpandSelectTreeNode</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#createExpandSelectTree-java.util.List-java.util.List-">createExpandSelectTree</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/SelectItem.html" title="interface in org.apache.olingo.odata2.api.uri">SelectItem</a>> select, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/NavigationPropertySegment.html" title="interface in org.apache.olingo.odata2.api.uri">NavigationPropertySegment</a>>> expand)</code> | |
<div class="block">Creates an optimized expression tree out of $expand and $select expressions.</div> | |
</td> | |
</tr> | |
<tr id="i3" class="rowColor"> | |
<td class="colFirst"><code>static <a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#createPathSegment-java.lang.String-java.util.Map-">createPathSegment</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>> matrixParameters)</code> | |
<div class="block">Creates an path segment object.</div> | |
</td> | |
</tr> | |
<tr id="i4" class="altColor"> | |
<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/KeyPredicate.html" title="interface in org.apache.olingo.odata2.api.uri">KeyPredicate</a>></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#getKeyFromEntityLink-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.lang.String-java.net.URI-">getKeyFromEntityLink</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> entityLink, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> serviceRoot)</code> | |
<div class="block">Retrieves the key predicates from a canonical link to an entity.</div> | |
</td> | |
</tr> | |
<tr id="i5" class="rowColor"> | |
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/KeyPredicate.html" title="interface in org.apache.olingo.odata2.api.uri">KeyPredicate</a>></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#getKeyPredicatesFromEntityLink-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.lang.String-java.net.URI-">getKeyPredicatesFromEntityLink</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> entityLink, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> serviceRoot)</code> | |
<div class="block">Retrieves the key predicates from a canonical link to an entity.</div> | |
</td> | |
</tr> | |
<tr id="i6" class="altColor"> | |
<td class="colFirst"><code>static <a href="../../../../../../org/apache/olingo/odata2/api/uri/UriInfo.html" title="interface in org.apache.olingo.odata2.api.uri">UriInfo</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#parse-org.apache.olingo.odata2.api.edm.Edm-java.util.List-java.util.Map-">parse</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a> edm, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a>> pathSegments, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> queryParameters)</code> | |
<div class="block">Parses path segments and query parameters for the given EDM.</div> | |
</td> | |
</tr> | |
<tr id="i7" class="rowColor"> | |
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/UriInfo.html" title="interface in org.apache.olingo.odata2.api.uri">UriInfo</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#parse-java.util.List-java.util.Map-">parse</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a>> pathSegments, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> queryParameters)</code> | |
<div class="block">Parses path segments and query parameters.</div> | |
</td> | |
</tr> | |
<tr id="i8" class="altColor"> | |
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/UriInfo.html" title="interface in org.apache.olingo.odata2.api.uri">UriInfo</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#parseAll-java.util.List-java.util.Map-">parseAll</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a>> pathSegments, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>> allQueryParameters)</code> | |
<div class="block">Parses path segments and query parameters.</div> | |
</td> | |
</tr> | |
<tr id="i9" class="rowColor"> | |
<td class="colFirst"><code>static <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/FilterExpression.html" title="interface in org.apache.olingo.odata2.api.uri.expression">FilterExpression</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#parseFilter-org.apache.olingo.odata2.api.edm.Edm-org.apache.olingo.odata2.api.edm.EdmEntityType-java.lang.String-">parseFilter</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a> edm, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntityType.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntityType</a> edmType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> expression)</code> | |
<div class="block">Parses a $filter expression string and create an expression tree.</div> | |
</td> | |
</tr> | |
<tr id="i10" class="altColor"> | |
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/FilterExpression.html" title="interface in org.apache.olingo.odata2.api.uri.expression">FilterExpression</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#parseFilterString-org.apache.olingo.odata2.api.edm.EdmEntityType-java.lang.String-">parseFilterString</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntityType.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntityType</a> edmType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> expression)</code> | |
<div class="block">Parses a $filter expression string and create an expression tree.</div> | |
</td> | |
</tr> | |
<tr id="i11" class="rowColor"> | |
<td class="colFirst"><code>static <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/OrderByExpression.html" title="interface in org.apache.olingo.odata2.api.uri.expression">OrderByExpression</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#parseOrderBy-org.apache.olingo.odata2.api.edm.Edm-org.apache.olingo.odata2.api.edm.EdmEntityType-java.lang.String-">parseOrderBy</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a> edm, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntityType.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntityType</a> edmType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> expression)</code> | |
<div class="block">Parses a $orderby expression string and creates an expression tree.</div> | |
</td> | |
</tr> | |
<tr id="i12" class="altColor"> | |
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/OrderByExpression.html" title="interface in org.apache.olingo.odata2.api.uri.expression">OrderByExpression</a></code></td> | |
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#parseOrderByString-org.apache.olingo.odata2.api.edm.EdmEntityType-java.lang.String-">parseOrderByString</a></span>(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntityType.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntityType</a> edmType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> expression)</code> | |
<div class="block">Parses a $orderby expression string and creates an expression tree.</div> | |
</td> | |
</tr> | |
</table> | |
<ul class="blockList"> | |
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> | |
<!-- --> | |
</a> | |
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> | |
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> | |
</ul> | |
</li> | |
</ul> | |
</li> | |
</ul> | |
</div> | |
<div class="details"> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<ul class="blockList"> | |
<li class="blockList"><a name="constructor.detail"> | |
<!-- --> | |
</a> | |
<h3>Constructor Detail</h3> | |
<a name="UriParser--"> | |
<!-- --> | |
</a> | |
<ul class="blockListLast"> | |
<li class="blockList"> | |
<h4>UriParser</h4> | |
<pre>public UriParser()</pre> | |
</li> | |
</ul> | |
</li> | |
</ul> | |
<!-- ============ METHOD DETAIL ========== --> | |
<ul class="blockList"> | |
<li class="blockList"><a name="method.detail"> | |
<!-- --> | |
</a> | |
<h3>Method Detail</h3> | |
<a name="parse-org.apache.olingo.odata2.api.edm.Edm-java.util.List-java.util.Map-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>parse</h4> | |
<pre>public static <a href="../../../../../../org/apache/olingo/odata2/api/uri/UriInfo.html" title="interface in org.apache.olingo.odata2.api.uri">UriInfo</a> parse(<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a> edm, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a>> pathSegments, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> queryParameters) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataException.html" title="class in org.apache.olingo.odata2.api.exception">ODataException</a></pre> | |
<div class="block">Parses path segments and query parameters for the given EDM.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>edm</code> - Entity Data Model</dd> | |
<dd><code>pathSegments</code> - list of path segments</dd> | |
<dd><code>queryParameters</code> - query parameters</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriInfo.html" title="interface in org.apache.olingo.odata2.api.uri"><code>UriInfo</code></a> information about the parsed URI</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataException.html" title="class in org.apache.olingo.odata2.api.exception">ODataException</a></code></dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="parse-java.util.List-java.util.Map-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>parse</h4> | |
<pre>public abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/UriInfo.html" title="interface in org.apache.olingo.odata2.api.uri">UriInfo</a> parse(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a>> pathSegments, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> queryParameters) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/uri/UriSyntaxException.html" title="class in org.apache.olingo.odata2.api.uri">UriSyntaxException</a>, | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/UriNotMatchingException.html" title="class in org.apache.olingo.odata2.api.uri">UriNotMatchingException</a>, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmException.html" title="class in org.apache.olingo.odata2.api.edm">EdmException</a></pre> | |
<div class="block">Parses path segments and query parameters. | |
This method ignores redundant system query parameters.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>pathSegments</code> - list of path segments</dd> | |
<dd><code>queryParameters</code> - query parameters</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriInfo.html" title="interface in org.apache.olingo.odata2.api.uri"><code>UriInfo</code></a> information about the parsed URI</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriSyntaxException.html" title="class in org.apache.olingo.odata2.api.uri">UriSyntaxException</a></code></dd> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriNotMatchingException.html" title="class in org.apache.olingo.odata2.api.uri">UriNotMatchingException</a></code></dd> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmException.html" title="class in org.apache.olingo.odata2.api.edm">EdmException</a></code></dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="parseAll-java.util.List-java.util.Map-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>parseAll</h4> | |
<pre>public abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/UriInfo.html" title="interface in org.apache.olingo.odata2.api.uri">UriInfo</a> parseAll(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a>> pathSegments, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>> allQueryParameters) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/uri/UriSyntaxException.html" title="class in org.apache.olingo.odata2.api.uri">UriSyntaxException</a>, | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/UriNotMatchingException.html" title="class in org.apache.olingo.odata2.api.uri">UriNotMatchingException</a>, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmException.html" title="class in org.apache.olingo.odata2.api.edm">EdmException</a></pre> | |
<div class="block">Parses path segments and query parameters. | |
Throws an exception if there are redundant system query parameters.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>pathSegments</code> - list of path segments</dd> | |
<dd><code>queryParameters</code> - query parameters</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriInfo.html" title="interface in org.apache.olingo.odata2.api.uri"><code>UriInfo</code></a> information about the parsed URI</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriSyntaxException.html" title="class in org.apache.olingo.odata2.api.uri">UriSyntaxException</a></code></dd> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriNotMatchingException.html" title="class in org.apache.olingo.odata2.api.uri">UriNotMatchingException</a></code></dd> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmException.html" title="class in org.apache.olingo.odata2.api.edm">EdmException</a></code></dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="parseFilter-org.apache.olingo.odata2.api.edm.Edm-org.apache.olingo.odata2.api.edm.EdmEntityType-java.lang.String-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>parseFilter</h4> | |
<pre>public static <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/FilterExpression.html" title="interface in org.apache.olingo.odata2.api.uri.expression">FilterExpression</a> parseFilter(<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a> edm, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntityType.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntityType</a> edmType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> expression) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionParserException.html" title="class in org.apache.olingo.odata2.api.uri.expression">ExpressionParserException</a>, | |
<a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataMessageException.html" title="class in org.apache.olingo.odata2.api.exception">ODataMessageException</a></pre> | |
<div class="block">Parses a $filter expression string and create an expression tree. | |
<p>The current expression parser supports expressions as defined in the | |
OData specification 2.0 with the following restrictions: | |
<ul> | |
<li>the methods "cast", "isof" and "replace" are not supported</li> | |
</ul></p> | |
<p>The expression parser can be used with providing an Entity Data Model (EDM) | |
and without providing it. When an EDM is provided the expression parser will be | |
as strict as possible. That means: | |
<ul> | |
<li>All properties used in the expression must be defined inside the EDM,</li> | |
<li>the types of EDM properties will be checked against the lists of allowed | |
types per method and per binary or unary operator, respectively</li> | |
</ul> | |
If no EDM is provided the expression parser performs a lax validation: | |
<ul> | |
<li>The properties used in the expression are not looked up inside the EDM | |
and the type of the expression node representing the property will be "null",</li> | |
<li>expression nodes with EDM type "null" are not considered during the parameter | |
type validation, so the return type of the parent expression node will | |
also become "null".</li> | |
</ul></div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>edm</code> - entity data model of the accessed OData service</dd> | |
<dd><code>edmType</code> - EDM type of the OData entity/complex type/... addressed by the URL</dd> | |
<dd><code>expression</code> - $filter expression string to be parsed</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>expression tree which can be traversed with help of the interfaces | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionVisitor.html" title="interface in org.apache.olingo.odata2.api.uri.expression"><code>ExpressionVisitor</code></a> and | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/Visitable.html" title="interface in org.apache.olingo.odata2.api.uri.expression"><code>Visitable</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionParserException.html" title="class in org.apache.olingo.odata2.api.uri.expression">ExpressionParserException</a></code> - thrown due to errors while parsing the $filter expression string</dd> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataMessageException.html" title="class in org.apache.olingo.odata2.api.exception">ODataMessageException</a></code> - for extensibility</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="parseFilterString-org.apache.olingo.odata2.api.edm.EdmEntityType-java.lang.String-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>parseFilterString</h4> | |
<pre>public abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/FilterExpression.html" title="interface in org.apache.olingo.odata2.api.uri.expression">FilterExpression</a> parseFilterString(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntityType.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntityType</a> edmType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> expression) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionParserException.html" title="class in org.apache.olingo.odata2.api.uri.expression">ExpressionParserException</a>, | |
<a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataMessageException.html" title="class in org.apache.olingo.odata2.api.exception">ODataMessageException</a></pre> | |
<div class="block">Parses a $filter expression string and create an expression tree. | |
<p>The current expression parser supports expressions as defined in the | |
OData specification 2.0 with the following restrictions: | |
<ul> | |
<li>the methods "cast", "isof" and "replace" are not supported</li> | |
</ul></p> | |
<p>The expression parser can be used with providing an Entity Data Model (EDM) | |
and without providing it. When an EDM is provided the expression parser will be | |
as strict as possible. That means: | |
<ul> | |
<li>All properties used in the expression must be defined inside the EDM,</li> | |
<li>the types of EDM properties will be checked against the lists of allowed | |
types per method and per binary or unary operator, respectively</li> | |
</ul> | |
If no EDM is provided the expression parser performs a lax validation: | |
<ul> | |
<li>The properties used in the expression are not looked up inside the EDM | |
and the type of the expression node representing the property will be "null",</li> | |
<li>expression nodes with EDM type "null" are not considered during the parameter | |
type validation, so the return type of the parent expression node will | |
also become "null".</li> | |
</ul></div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>edmType</code> - EDM type of the OData entity/complex type/... addressed by the URL</dd> | |
<dd><code>expression</code> - $filter expression string to be parsed</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>expression tree which can be traversed with help of the interfaces | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionVisitor.html" title="interface in org.apache.olingo.odata2.api.uri.expression"><code>ExpressionVisitor</code></a> and | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/Visitable.html" title="interface in org.apache.olingo.odata2.api.uri.expression"><code>Visitable</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionParserException.html" title="class in org.apache.olingo.odata2.api.uri.expression">ExpressionParserException</a></code> - thrown due to errors while parsing the $filter expression string</dd> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataMessageException.html" title="class in org.apache.olingo.odata2.api.exception">ODataMessageException</a></code> - for extensibility</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="parseOrderBy-org.apache.olingo.odata2.api.edm.Edm-org.apache.olingo.odata2.api.edm.EdmEntityType-java.lang.String-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>parseOrderBy</h4> | |
<pre>public static <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/OrderByExpression.html" title="interface in org.apache.olingo.odata2.api.uri.expression">OrderByExpression</a> parseOrderBy(<a href="../../../../../../org/apache/olingo/odata2/api/edm/Edm.html" title="interface in org.apache.olingo.odata2.api.edm">Edm</a> edm, | |
<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntityType.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntityType</a> edmType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> expression) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionParserException.html" title="class in org.apache.olingo.odata2.api.uri.expression">ExpressionParserException</a>, | |
<a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataMessageException.html" title="class in org.apache.olingo.odata2.api.exception">ODataMessageException</a></pre> | |
<div class="block">Parses a $orderby expression string and creates an expression tree.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>edm</code> - EDM model of the accessed OData service</dd> | |
<dd><code>edmType</code> - EDM type of the OData entity/complex type/... addressed by the URL</dd> | |
<dd><code>expression</code> - $orderby expression string to be parsed</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>expression tree which can be traversed with help of the interfaces | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionVisitor.html" title="interface in org.apache.olingo.odata2.api.uri.expression"><code>ExpressionVisitor</code></a> and | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/Visitable.html" title="interface in org.apache.olingo.odata2.api.uri.expression"><code>Visitable</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionParserException.html" title="class in org.apache.olingo.odata2.api.uri.expression">ExpressionParserException</a></code> - thrown due to errors while parsing the $orderby expression string</dd> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataMessageException.html" title="class in org.apache.olingo.odata2.api.exception">ODataMessageException</a></code> - used for extensibility</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="parseOrderByString-org.apache.olingo.odata2.api.edm.EdmEntityType-java.lang.String-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>parseOrderByString</h4> | |
<pre>public abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/OrderByExpression.html" title="interface in org.apache.olingo.odata2.api.uri.expression">OrderByExpression</a> parseOrderByString(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntityType.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntityType</a> edmType, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> expression) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionParserException.html" title="class in org.apache.olingo.odata2.api.uri.expression">ExpressionParserException</a>, | |
<a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataMessageException.html" title="class in org.apache.olingo.odata2.api.exception">ODataMessageException</a></pre> | |
<div class="block">Parses a $orderby expression string and creates an expression tree.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>edmType</code> - EDM type of the OData entity/complex type/... addressed by the URL</dd> | |
<dd><code>expression</code> - $orderby expression string to be parsed</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>expression tree which can be traversed with help of the interfaces | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionVisitor.html" title="interface in org.apache.olingo.odata2.api.uri.expression"><code>ExpressionVisitor</code></a> and | |
<a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/Visitable.html" title="interface in org.apache.olingo.odata2.api.uri.expression"><code>Visitable</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/uri/expression/ExpressionParserException.html" title="class in org.apache.olingo.odata2.api.uri.expression">ExpressionParserException</a></code> - thrown due to errors while parsing the $orderby expression string</dd> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataMessageException.html" title="class in org.apache.olingo.odata2.api.exception">ODataMessageException</a></code> - used for extensibility</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="createExpandSelectTree-java.util.List-java.util.List-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>createExpandSelectTree</h4> | |
<pre>public static <a href="../../../../../../org/apache/olingo/odata2/api/uri/ExpandSelectTreeNode.html" title="class in org.apache.olingo.odata2.api.uri">ExpandSelectTreeNode</a> createExpandSelectTree(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/SelectItem.html" title="interface in org.apache.olingo.odata2.api.uri">SelectItem</a>> select, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/NavigationPropertySegment.html" title="interface in org.apache.olingo.odata2.api.uri">NavigationPropertySegment</a>>> expand) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmException.html" title="class in org.apache.olingo.odata2.api.edm">EdmException</a></pre> | |
<div class="block">Creates an optimized expression tree out of $expand and $select expressions.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>select</code> - List of <a href="../../../../../../org/apache/olingo/odata2/api/uri/SelectItem.html" title="interface in org.apache.olingo.odata2.api.uri"><code>select items</code></a></dd> | |
<dd><code>expand</code> - List of Lists of <a href="../../../../../../org/apache/olingo/odata2/api/uri/NavigationPropertySegment.html" title="interface in org.apache.olingo.odata2.api.uri"><code>navigation property segments</code></a></dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>expression tree of type <a href="../../../../../../org/apache/olingo/odata2/api/uri/ExpandSelectTreeNode.html" title="class in org.apache.olingo.odata2.api.uri"><code>ExpandSelectTreeNode</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmException.html" title="class in org.apache.olingo.odata2.api.edm">EdmException</a></code></dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="buildExpandSelectTree-java.util.List-java.util.List-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>buildExpandSelectTree</h4> | |
<pre>public abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/ExpandSelectTreeNode.html" title="class in org.apache.olingo.odata2.api.uri">ExpandSelectTreeNode</a> buildExpandSelectTree(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/SelectItem.html" title="interface in org.apache.olingo.odata2.api.uri">SelectItem</a>> select, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/NavigationPropertySegment.html" title="interface in org.apache.olingo.odata2.api.uri">NavigationPropertySegment</a>>> expand) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmException.html" title="class in org.apache.olingo.odata2.api.edm">EdmException</a></pre> | |
<div class="block">Creates an optimized expression tree out of $expand and $select expressions.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>select</code> - List of <a href="../../../../../../org/apache/olingo/odata2/api/uri/SelectItem.html" title="interface in org.apache.olingo.odata2.api.uri"><code>select items</code></a></dd> | |
<dd><code>expand</code> - List of Lists of <a href="../../../../../../org/apache/olingo/odata2/api/uri/NavigationPropertySegment.html" title="interface in org.apache.olingo.odata2.api.uri"><code>navigation property segments</code></a></dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>expression tree of type <a href="../../../../../../org/apache/olingo/odata2/api/uri/ExpandSelectTreeNode.html" title="class in org.apache.olingo.odata2.api.uri"><code>ExpandSelectTreeNode</code></a></dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmException.html" title="class in org.apache.olingo.odata2.api.edm">EdmException</a></code></dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="buildPathSegment-java.lang.String-java.util.Map-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>buildPathSegment</h4> | |
<pre>protected abstract <a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a> buildPathSegment(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>> matrixParameters)</pre> | |
<div class="block">Creates an path segment object.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>path</code> - path of created path segment</dd> | |
<dd><code>matrixParameters</code> - Map of Lists of matrix parameters for this path segment (can be null if no matrix | |
parameters should be set for this path segment)</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>created path segment</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="createPathSegment-java.lang.String-java.util.Map-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>createPathSegment</h4> | |
<pre>public static <a href="../../../../../../org/apache/olingo/odata2/api/uri/PathSegment.html" title="interface in org.apache.olingo.odata2.api.uri">PathSegment</a> createPathSegment(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>> matrixParameters)</pre> | |
<div class="block">Creates an path segment object.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>path</code> - path of created path segment</dd> | |
<dd><code>matrixParameters</code> - Map of Lists of matrix parameters for this path segment (can be null if no matrix | |
parameters should be set for this path segment)</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>created path segment</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="getKeyPredicatesFromEntityLink-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.lang.String-java.net.URI-"> | |
<!-- --> | |
</a> | |
<ul class="blockList"> | |
<li class="blockList"> | |
<h4>getKeyPredicatesFromEntityLink</h4> | |
<pre>public static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/KeyPredicate.html" title="interface in org.apache.olingo.odata2.api.uri">KeyPredicate</a>> getKeyPredicatesFromEntityLink(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> entityLink, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> serviceRoot) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataException.html" title="class in org.apache.olingo.odata2.api.exception">ODataException</a></pre> | |
<div class="block"><p>Retrieves the key predicates from a canonical link to an entity.</p> | |
<p>A canonical link to an entity must follow the pattern | |
<code>[<service root>][<entityContainer>.]<entitySet>(<key>)</code>, i.e., | |
it must be a relative or absolute URI consisting of an entity set (qualified | |
with an entity-container name if not in the default entity container) and a | |
syntactically valid key that identifies a single entity; example: | |
<code>http://example.server.com/service.svc/Employees('42')</code>.</p></div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>entitySet</code> - the entity set the entity belongs to</dd> | |
<dd><code>entityLink</code> - the link as String</dd> | |
<dd><code>serviceRoot</code> - the root URI of the service, may be <code>null</code> | |
for a relative link URI</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>a list of key predicates</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataException.html" title="class in org.apache.olingo.odata2.api.exception">ODataException</a></code> - in case the link is malformed</dd> | |
</dl> | |
</li> | |
</ul> | |
<a name="getKeyFromEntityLink-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.lang.String-java.net.URI-"> | |
<!-- --> | |
</a> | |
<ul class="blockListLast"> | |
<li class="blockList"> | |
<h4>getKeyFromEntityLink</h4> | |
<pre>public abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/olingo/odata2/api/uri/KeyPredicate.html" title="interface in org.apache.olingo.odata2.api.uri">KeyPredicate</a>> getKeyFromEntityLink(<a href="../../../../../../org/apache/olingo/odata2/api/edm/EdmEntitySet.html" title="interface in org.apache.olingo.odata2.api.edm">EdmEntitySet</a> entitySet, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> entityLink, | |
<a href="http://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> serviceRoot) | |
throws <a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataException.html" title="class in org.apache.olingo.odata2.api.exception">ODataException</a></pre> | |
<div class="block">Retrieves the key predicates from a canonical link to an entity.</div> | |
<dl> | |
<dt><span class="paramLabel">Parameters:</span></dt> | |
<dd><code>entitySet</code> - the entity set the entity belongs to</dd> | |
<dd><code>entityLink</code> - the link as String</dd> | |
<dd><code>serviceRoot</code> - the root URI of the service, may be <code>null</code> | |
for a relative link URI</dd> | |
<dt><span class="returnLabel">Returns:</span></dt> | |
<dd>a list of key predicates</dd> | |
<dt><span class="throwsLabel">Throws:</span></dt> | |
<dd><code><a href="../../../../../../org/apache/olingo/odata2/api/exception/ODataException.html" title="class in org.apache.olingo.odata2.api.exception">ODataException</a></code> - in case the link is malformed</dd> | |
<dt><span class="seeLabel">See Also:</span></dt> | |
<dd><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriParser.html#getKeyPredicatesFromEntityLink-org.apache.olingo.odata2.api.edm.EdmEntitySet-java.lang.String-java.net.URI-"><code>getKeyPredicatesFromEntityLink(org.apache.olingo.odata2.api.edm.EdmEntitySet, java.lang.String, java.net.URI)</code></a></dd> | |
</dl> | |
</li> | |
</ul> | |
</li> | |
</ul> | |
</li> | |
</ul> | |
</div> | |
</div> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<div class="bottomNav"><a name="navbar.bottom"> | |
<!-- --> | |
</a> | |
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> | |
<a name="navbar.bottom.firstrow"> | |
<!-- --> | |
</a> | |
<ul class="navList" title="Navigation"> | |
<li><a href="../../../../../../overview-summary.html">Overview</a></li> | |
<li><a href="package-summary.html">Package</a></li> | |
<li class="navBarCell1Rev">Class</li> | |
<li><a href="class-use/UriParser.html">Use</a></li> | |
<li><a href="package-tree.html">Tree</a></li> | |
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> | |
<li><a href="../../../../../../index-all.html">Index</a></li> | |
<li><a href="../../../../../../help-doc.html">Help</a></li> | |
</ul> | |
</div> | |
<div class="subNav"> | |
<ul class="navList"> | |
<li><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriNotMatchingException.html" title="class in org.apache.olingo.odata2.api.uri"><span class="typeNameLink">Prev Class</span></a></li> | |
<li><a href="../../../../../../org/apache/olingo/odata2/api/uri/UriSyntaxException.html" title="class in org.apache.olingo.odata2.api.uri"><span class="typeNameLink">Next Class</span></a></li> | |
</ul> | |
<ul class="navList"> | |
<li><a href="../../../../../../index.html?org/apache/olingo/odata2/api/uri/UriParser.html" target="_top">Frames</a></li> | |
<li><a href="UriParser.html" target="_top">No Frames</a></li> | |
</ul> | |
<ul class="navList" id="allclasses_navbar_bottom"> | |
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> | |
</ul> | |
<div> | |
<script type="text/javascript"><!-- | |
allClassesLink = document.getElementById("allclasses_navbar_bottom"); | |
if(window==top) { | |
allClassesLink.style.display = "block"; | |
} | |
else { | |
allClassesLink.style.display = "none"; | |
} | |
//--> | |
</script> | |
</div> | |
<div> | |
<ul class="subNavList"> | |
<li>Summary: </li> | |
<li>Nested | </li> | |
<li>Field | </li> | |
<li><a href="#constructor.summary">Constr</a> | </li> | |
<li><a href="#method.summary">Method</a></li> | |
</ul> | |
<ul class="subNavList"> | |
<li>Detail: </li> | |
<li>Field | </li> | |
<li><a href="#constructor.detail">Constr</a> | </li> | |
<li><a href="#method.detail">Method</a></li> | |
</ul> | |
</div> | |
<a name="skip.navbar.bottom"> | |
<!-- --> | |
</a></div> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<p class="legalCopy"><small>Copyright © 2013-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> | |
</body> | |
</html> |