public enum EncodingEnum extends Enum<EncodingEnum>
| Modifier and Type | Method and Description |
|---|---|
static EncodingEnum |
forContentType(String theContentType) |
String |
getBundleContentType() |
String |
getFormatContentType() |
String |
getRequestContentType() |
String |
getResourceContentType() |
abstract IParser |
newParser(FhirContext theContext) |
static EncodingEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodingEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodingEnum XML
public static final EncodingEnum JSON
public static EncodingEnum[] values()
for (EncodingEnum c : EncodingEnum.values()) System.out.println(c);
public static EncodingEnum 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 String getRequestContentType()
public abstract IParser newParser(FhirContext theContext)
public String getBundleContentType()
public String getResourceContentType()
public static EncodingEnum forContentType(String theContentType)
public String getFormatContentType()
Copyright © 2014–2016 University Health Network. All rights reserved.