Package org.elasticsearch.common.xcontent
-
Interface Summary Interface Description StatusToXContentObject Objects that can both render themselves in as json/yaml/etc and can provide aRestStatusfor their response. -
Class Summary Class Description LoggingDeprecationHandler Logs deprecations to theDeprecationLogger.ObjectParserHelper<Value,Context> This class provides helpers forObjectParserthat allow dealing with classes outside of the xcontent dependencies.ParseFieldRegistry<T> Registry for looking things up using ParseField semantics.XContentElasticsearchExtension SPI extensions for Elasticsearch-specific classes (like the Lucene or Joda dependency classes) that need to be encoded byXContentBuilderin a specific way.XContentHelper XContentParserUtils A set of static methods to getXContentParser.TokenfromXContentParserwhile checking for their types and throwParsingExceptionif needed. -
Exception Summary Exception Description UnknownNamedObjectException Thrown whenNamedXContentRegistry.parseNamedObject(Class, String, XContentParser, Object)is called with an unregistered name.