public interface RootMapper extends Mapper
Mapper.Builder<T extends Mapper.Builder,Y extends Mapper>, Mapper.BuilderContext, Mapper.TypeParserToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_ARRAYEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
boolean |
includeInObject()
Should the mapper be included in the root
ObjectMapper. |
void |
postParse(ParseContext context)
Called after
Mapper.parse(ParseContext) on the RootObjectMapper. |
void |
preParse(ParseContext context)
Called before
Mapper.parse(ParseContext) on the RootObjectMapper. |
close, merge, name, parse, traverse, traversetoXContentvoid preParse(ParseContext context) throws IOException
Mapper.parse(ParseContext) on the RootObjectMapper.IOExceptionvoid postParse(ParseContext context) throws IOException
Mapper.parse(ParseContext) on the RootObjectMapper.IOExceptionboolean includeInObject()
ObjectMapper.
If this method returns true, then Mapper.parse(ParseContext) will be
called if the context has a property that matches the name of this
RootMapper. Otherwise Mapper.parse(ParseContext) will not
be called.Copyright © 2009–2016. All rights reserved.