public interface XContentProvider
A provider for the XContent API.
 A provider supports all the XContent formats, JSON, CBOR, SMILE, and YAML.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA provider of a specific content format, e.g.static classA holder for the provider instance.
- 
Method SummaryModifier and TypeMethodDescriptionempty()Returns an empty XContentParserConfiguration.Returns the CBOR format provider.Returns a JsonStringEncoder.Returns the JSON format provider.Returns the SMILE format provider.Returns the YAML format provider.static XContentProviderprovider()Returns the located provider instance.
- 
Method Details- 
getCborXContentXContentProvider.FormatProvider getCborXContent()Returns the CBOR format provider.
- 
getJsonXContentXContentProvider.FormatProvider getJsonXContent()Returns the JSON format provider.
- 
getSmileXContentXContentProvider.FormatProvider getSmileXContent()Returns the SMILE format provider.
- 
getYamlXContentXContentProvider.FormatProvider getYamlXContent()Returns the YAML format provider.
- 
emptyXContentParserConfiguration empty()Returns an empty XContentParserConfiguration.
- 
getJsonStringEncoderJsonStringEncoder getJsonStringEncoder()Returns a JsonStringEncoder.
- 
providerReturns the located provider instance.
 
-