public interface UriHelper
Modifier and Type | Method and Description |
---|---|
String |
buildCanonicalURL(EdmEntitySet edmEntitySet,
Entity entity)
Builds the relative canonical URL for the given entity in the given entity set.
|
String |
buildContextURLKeyPredicate(List<UriParameter> keys)
Builds the key-predicate part of a
ContextURL . |
String |
buildContextURLSelectList(EdmStructuredType type,
ExpandOption expand,
SelectOption select)
Builds the select-list part of a
ContextURL . |
String buildContextURLSelectList(EdmStructuredType type, ExpandOption expand, SelectOption select) throws SerializerException
ContextURL
.type
- the EdmStructuredType
expand
- the $expand optionselect
- the $select optionSerializerException
String buildContextURLKeyPredicate(List<UriParameter> keys) throws SerializerException
ContextURL
.keys
- the keys as a list of UriParameter
instancesSerializerException
String buildCanonicalURL(EdmEntitySet edmEntitySet, Entity entity) throws SerializerException
edmEntitySet
- the entity setentity
- the entity dataSerializerException
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.