public static enum FormatFactory.Formatter extends Enum<FormatFactory.Formatter>
Enum Constant and Description |
---|
COUCHDB |
HTML |
JAVA_PROPS |
JSON |
JSON_JACKSON |
SMILE |
XML |
XML_JAVAX |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends ProtobufFormatter> |
getFormatterClass() |
static FormatFactory.Formatter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatFactory.Formatter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatFactory.Formatter COUCHDB
public static final FormatFactory.Formatter HTML
public static final FormatFactory.Formatter JAVA_PROPS
public static final FormatFactory.Formatter JSON
public static final FormatFactory.Formatter XML
public static final FormatFactory.Formatter SMILE
public static final FormatFactory.Formatter JSON_JACKSON
public static final FormatFactory.Formatter XML_JAVAX
public static FormatFactory.Formatter[] values()
for (FormatFactory.Formatter c : FormatFactory.Formatter.values()) System.out.println(c);
public static FormatFactory.Formatter 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 nullprotected Class<? extends ProtobufFormatter> getFormatterClass()
Copyright © 2017. All rights reserved.