org.elasticsearch.common.xcontent.support
Class XContentMapConverter

java.lang.Object
  extended by org.elasticsearch.common.xcontent.support.XContentMapConverter

public class XContentMapConverter
extends java.lang.Object


Constructor Summary
XContentMapConverter()
           
 
Method Summary
static java.util.Map<java.lang.String,java.lang.Object> readMap(XContentParser parser)
           
static void writeMap(XContentGenerator gen, java.util.Map<java.lang.String,java.lang.Object> map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XContentMapConverter

public XContentMapConverter()
Method Detail

readMap

public static java.util.Map<java.lang.String,java.lang.Object> readMap(XContentParser parser)
                                                                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