org.elasticsearch.common.xcontent.support
Class XContentMapConverter
java.lang.Object
org.elasticsearch.common.xcontent.support.XContentMapConverter
public class XContentMapConverter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIMPLE_MAP_FACTORY
public static final XContentMapConverter.MapFactory SIMPLE_MAP_FACTORY
ORDERED_MAP_FACTORY
public static final XContentMapConverter.MapFactory ORDERED_MAP_FACTORY
XContentMapConverter
public XContentMapConverter()
readMap
public static java.util.Map<java.lang.String,java.lang.Object> readMap(XContentParser parser)
throws java.io.IOException
- Throws:
java.io.IOException
readOrderedMap
public static java.util.Map<java.lang.String,java.lang.Object> readOrderedMap(XContentParser parser)
throws java.io.IOException
- Throws:
java.io.IOException
readMap
public static java.util.Map<java.lang.String,java.lang.Object> readMap(XContentParser parser,
XContentMapConverter.MapFactory mapFactory)
throws java.io.IOException
- Throws:
java.io.IOException
writeMap
public static void writeMap(XContentGenerator gen,
java.util.Map<java.lang.String,java.lang.Object> map)
throws java.io.IOException
- Throws:
java.io.IOException