org.elasticsearch.common.xcontent.support
Class XContentMapValues

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

public class XContentMapValues
extends java.lang.Object


Constructor Summary
XContentMapValues()
           
 
Method Summary
static boolean isArray(java.lang.Object node)
           
static boolean isObject(java.lang.Object node)
           
static boolean nodeBooleanValue(java.lang.Object node)
           
static boolean nodeBooleanValue(java.lang.Object node, boolean defaulValue)
           
static double nodeDoubleValue(java.lang.Object node)
           
static float nodeFloatValue(java.lang.Object node)
           
static int nodeIntegerValue(java.lang.Object node)
           
static int nodeIntegerValue(java.lang.Object node, int defaultValue)
           
static long nodeLongValue(java.lang.Object node)
           
static short nodeShortValue(java.lang.Object node)
           
static java.lang.String nodeStringValue(java.lang.Object node, java.lang.String defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XContentMapValues

public XContentMapValues()
Method Detail

isObject

public static boolean isObject(java.lang.Object node)

isArray

public static boolean isArray(java.lang.Object node)

nodeStringValue

public static java.lang.String nodeStringValue(java.lang.Object node,
                                               java.lang.String defaultValue)

nodeFloatValue

public static float nodeFloatValue(java.lang.Object node)

nodeDoubleValue

public static double nodeDoubleValue(java.lang.Object node)

nodeIntegerValue

public static int nodeIntegerValue(java.lang.Object node)

nodeIntegerValue

public static int nodeIntegerValue(java.lang.Object node,
                                   int defaultValue)

nodeShortValue

public static short nodeShortValue(java.lang.Object node)

nodeLongValue

public static long nodeLongValue(java.lang.Object node)

nodeBooleanValue

public static boolean nodeBooleanValue(java.lang.Object node,
                                       boolean defaulValue)

nodeBooleanValue

public static boolean nodeBooleanValue(java.lang.Object node)