public class UriContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UriContext.LambdaVariables |
| Constructor and Description |
|---|
UriContext() |
public Stack<UriContext.LambdaVariables> allowedLambdaVariables
public Stack<UriParseTreeVisitor.TypeInformation> contextTypes
public ExpandItemImpl contextExpandItemPath
UriParserBaseVisitor.visitExpandItem(org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandItemContext ctx)
and
UriParserBaseVisitor.visitExpandPathExtension(org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandPathExtensionContext ctx)
to allow nodes
deeper in the expand tree at
UriParserBaseVisitor.visitExpandPathExtension(org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandPathExtensionContext ctx)
appending path
segments to the currently processed ExpandItemImpl.public boolean contextVisitExpandResourcePath
UriParseTreeVisitor.visitExpandPath(org.apache.olingo.server.core.uri.antlr.UriParserParser.ExpandPathContext) right before
calling UriParseTreeVisitor.readResourcePathSegment(org.apache.olingo.server.core.uri.antlr.UriParserParser.PathSegmentContext) After reading
the path the variable is set back to false
readResourcePathSegment handles all navigation properties, it depends on the context if key predicates are allowed
or not.
In case of expandpublic SelectItemImpl contextSelectItem
UriParserBaseVisitor.visitSelectItem(org.apache.olingo.server.core.uri.antlr.UriParserParser.SelectItemContext ctx)
to allow
nodes
deeper in the expand tree at
UriParserBaseVisitor.visitSelectSegment(org.apache.olingo.server.core.uri.antlr.UriParserParser.SelectSegmentContext ctx)
appending path segments to the
currently processed SelectItemImpl.public UriInfoImpl contextUriInfo
public boolean contextReadingFunctionParameters
public boolean contextReadingQueryPart
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.