Interface | Description |
---|---|
ContextParser<Context,T> |
Reads an object from a parser using some context.
|
DeprecationHandler |
Callback for notifying the creator of the
XContentParser that
parsing hit a deprecated field. |
ObjectParser.NamedObjectParser<T,Context> |
Functional interface for instantiating and parsing named objects.
|
ObjectParser.Parser<Value,Context> | |
ToXContent |
An interface allowing to transfer an object to "XContent" using an
XContentBuilder . |
ToXContent.Params | |
ToXContentFragment |
An interface allowing to transfer an object to "XContent" using an
XContentBuilder . |
ToXContentObject |
An interface allowing to transfer an object to "XContent" using an
XContentBuilder . |
XContent |
A generic abstraction on top of handling content, inspired by JSON and pull parsing.
|
XContentBuilder.HumanReadableTransformer |
Interface for transforming complex objects into their "raw" equivalents for human-readable fields
|
XContentBuilder.Writer | |
XContentBuilderExtension |
This interface provides a way for non-JDK classes to plug in a way to serialize to xcontent.
|
XContentGenerator | |
XContentParser |
Interface for pull - parsing
XContent see XContentType for supported types. |
Class | Description |
---|---|
AbstractObjectParser<Value,Context> |
Superclass for
ObjectParser and ConstructingObjectParser . |
ConstructingObjectParser<Value,Context> |
Like
ObjectParser but works with objects that have constructors whose arguments are mixed in with its other settings. |
NamedXContentRegistry | |
NamedXContentRegistry.Entry |
An entry in the NamedXContentRegistry containing the name of the object and the parser that can parse it.
|
ObjectParser<Value,Context> |
A declarative, stateless parser that turns XContent into setter calls.
|
ToXContent.DelegatingMapParams | |
ToXContent.MapParams | |
XContentBuilder |
A utility to build XContent (ie json).
|
XContentFactory |
A one stop to use
XContent and XContentBuilder . |
XContentLocation |
Simple data structure representing the line and column number of a position
in some XContent e.g.
|
Enum | Description |
---|---|
ObjectParser.ValueType | |
XContentParser.NumberType | |
XContentParser.Token | |
XContentType |
The content type of
XContent . |
Exception | Description |
---|---|
NamedObjectNotFoundException |
Thrown when
NamedXContentRegistry cannot locate a named object to
parse for a particular name |
XContentParseException |
Thrown when one of the XContent parsers cannot parse something.
|