Package org.elasticsearch.common.xcontent
package org.elasticsearch.common.xcontent
-
InterfaceDescriptionObjects that can both render themselves in as json/yaml/etc and can provide a
RestStatus
for their response. -
ClassDescriptionLogs deprecations to the
DeprecationLogger
.ObjectParserHelper<Value,Context>This class provides helpers forObjectParser
that allow dealing with classes outside of the xcontent dependencies.Registry for looking things up using ParseField semantics.SPI extensions for Elasticsearch-specific classes (like the Lucene or Joda dependency classes) that need to be encoded byXContentBuilder
in a specific way.A set of static methods to getXContentParser.Token
fromXContentParser
while checking for their types and throwParsingException
if needed.