Interface ContextParser<Context,​T>

  • All Known Implementing Classes:
    AbstractObjectParser, ConstructingObjectParser, ObjectParser
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ContextParser<Context,​T>
    Reads an object from a parser using some context.
    • Method Summary

      Modifier and Type Method Description
      T parse​(XContentParser p, Context c)