Package org.hl7.fhir.r5.renderers.utils
Enum RenderingContext.ResourceRendererMode
- java.lang.Object
-
- java.lang.Enum<RenderingContext.ResourceRendererMode>
-
- org.hl7.fhir.r5.renderers.utils.RenderingContext.ResourceRendererMode
-
- All Implemented Interfaces:
Serializable,Comparable<RenderingContext.ResourceRendererMode>
- Enclosing class:
- RenderingContext
public static enum RenderingContext.ResourceRendererMode extends Enum<RenderingContext.ResourceRendererMode>
What kind of user the renderer is targeting - end users, or technical users This affects the way codes and references are rendered- Author:
- graha
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RenderingContext.ResourceRendererModevalueOf(String name)Returns the enum constant of this type with the specified name.static RenderingContext.ResourceRendererMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
END_USER
public static final RenderingContext.ResourceRendererMode END_USER
The user has no interest in the contents of the FHIR resource, and just wants to see the data
-
TECHNICAL
public static final RenderingContext.ResourceRendererMode TECHNICAL
The user wants to see the resource, but a technical view so they can see what's going on with the content
-
-
Method Detail
-
values
public static RenderingContext.ResourceRendererMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RenderingContext.ResourceRendererMode c : RenderingContext.ResourceRendererMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RenderingContext.ResourceRendererMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-