public interface XContentProvider
A provider for the XContent API.
 A provider supports all the XContent formats, JSON, CBOR, SMILE, and YAML.
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA provider of a specific content format, e.g.static classA holder for the provider instance. - 
Method Summary
Modifier 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
- 
getCborXContent
XContentProvider.FormatProvider getCborXContent()Returns the CBOR format provider. - 
getJsonXContent
XContentProvider.FormatProvider getJsonXContent()Returns the JSON format provider. - 
getSmileXContent
XContentProvider.FormatProvider getSmileXContent()Returns the SMILE format provider. - 
getYamlXContent
XContentProvider.FormatProvider getYamlXContent()Returns the YAML format provider. - 
empty
XContentParserConfiguration empty()Returns an empty XContentParserConfiguration. - 
getJsonStringEncoder
JsonStringEncoder getJsonStringEncoder()Returns a JsonStringEncoder. - 
provider
Returns the located provider instance. 
 -