public static final class EntitySerializerOptions.Builder extends Object
Modifier and Type | Method and Description |
---|---|
EntitySerializerOptions |
build()
Builds the OData serializer options.
|
EntitySerializerOptions.Builder |
contextURL(ContextURL contextURL)
Sets the
ContextURL . |
EntitySerializerOptions.Builder |
expand(ExpandOption expand)
Sets the $expand system query option.
|
EntitySerializerOptions.Builder |
select(SelectOption select)
Sets the $select system query option.
|
EntitySerializerOptions.Builder |
writeOnlyReferences(boolean ref)
Sets to serialize only references
|
EntitySerializerOptions.Builder |
xml10InvalidCharReplacement(String replacement)
set the replacement string for xml 1.0 unicode controlled characters that are not allowed
|
public EntitySerializerOptions.Builder contextURL(ContextURL contextURL)
ContextURL
.public EntitySerializerOptions.Builder expand(ExpandOption expand)
public EntitySerializerOptions.Builder select(SelectOption select)
public EntitySerializerOptions.Builder writeOnlyReferences(boolean ref)
public EntitySerializerOptions.Builder xml10InvalidCharReplacement(String replacement)
public EntitySerializerOptions build()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.