org.elasticsearch.common.xcontent.support
Class XContentMapConverter
java.lang.Object
org.elasticsearch.common.xcontent.support.XContentMapConverter
public class XContentMapConverter
- extends 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 Map<String,Object> readMap(XContentParser parser)
throws IOException
- Throws:
IOException
readOrderedMap
public static Map<String,Object> readOrderedMap(XContentParser parser)
throws IOException
- Throws:
IOException
readMap
public static Map<String,Object> readMap(XContentParser parser,
XContentMapConverter.MapFactory mapFactory)
throws IOException
- Throws:
IOException
writeMap
public static void writeMap(XContentGenerator gen,
Map<String,Object> map)
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.