public interface RootMapper extends Mapper
Mapper.Builder<T extends Mapper.Builder,Y extends Mapper>, Mapper.BuilderContext, Mapper.TypeParser
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_ARRAY
EMPTY_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, traverse
toXContent
void preParse(ParseContext context) throws IOException
Mapper.parse(ParseContext)
on the RootObjectMapper
.IOException
void postParse(ParseContext context) throws IOException
Mapper.parse(ParseContext)
on the RootObjectMapper
.IOException
boolean 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–2015. All rights reserved.