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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
parse(XContentParser p, Context c)
-
-
-
Method Detail
-
parse
T parse(XContentParser p, Context c) throws java.io.IOException
- Throws:
java.io.IOException
-
-