org.apache.solr.client.solrj.impl
protected static enum XMLResponseParser.KnownType extends Enum<XMLResponseParser.KnownType>
Enum Constant and Description |
---|
ARR |
BOOL |
DATE |
DOC |
DOUBLE |
FLOAT |
INT |
LONG |
LST |
NULL |
RESULT |
STR |
Modifier and Type | Method and Description |
---|---|
static XMLResponseParser.KnownType |
get(String v) |
abstract Object |
read(String txt) |
static XMLResponseParser.KnownType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLResponseParser.KnownType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLResponseParser.KnownType STR
public static final XMLResponseParser.KnownType INT
public static final XMLResponseParser.KnownType FLOAT
public static final XMLResponseParser.KnownType DOUBLE
public static final XMLResponseParser.KnownType LONG
public static final XMLResponseParser.KnownType BOOL
public static final XMLResponseParser.KnownType NULL
public static final XMLResponseParser.KnownType DATE
public static final XMLResponseParser.KnownType ARR
public static final XMLResponseParser.KnownType LST
public static final XMLResponseParser.KnownType RESULT
public static final XMLResponseParser.KnownType DOC
public static XMLResponseParser.KnownType[] values()
for (XMLResponseParser.KnownType c : XMLResponseParser.KnownType.values()) System.out.println(c);
public static XMLResponseParser.KnownType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static XMLResponseParser.KnownType get(String v)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.