Interface WriterKeys
-
public interface WriterKeysKeys used for configuration options of aViewWriter.- Author:
- Carl Harris
-
-
Field Summary
Fields Modifier and Type Field Description static StringINCLUDE_NULL_PROPERTIESWhen set totruea writer will include properties from the view whose value is null.static StringINCLUDE_XML_XSI_TYPEWhen set totruean XML view will include the appropriatexsi:typeattribute on each value element.static StringPRETTY_PRINT_OUTPUTWhen set totrueand is supported by the writer, output will be pretty printed.static StringWRAP_ARRAY_IN_ENVELOPEWhen set tofalsea view whose root is of array type will not be wrapped in an envelope.static StringWRAP_OBJECT_IN_ENVELOPEWhen set totruea view whose root is of object type will be wrapped in an envelope if the root element is named.
-
-
-
Field Detail
-
INCLUDE_NULL_PROPERTIES
static final String INCLUDE_NULL_PROPERTIES
When set totruea writer will include properties from the view whose value is null.- See Also:
- Constant Field Values
-
WRAP_OBJECT_IN_ENVELOPE
static final String WRAP_OBJECT_IN_ENVELOPE
When set totruea view whose root is of object type will be wrapped in an envelope if the root element is named.- See Also:
- Constant Field Values
-
WRAP_ARRAY_IN_ENVELOPE
static final String WRAP_ARRAY_IN_ENVELOPE
When set tofalsea view whose root is of array type will not be wrapped in an envelope.- See Also:
- Constant Field Values
-
INCLUDE_XML_XSI_TYPE
static final String INCLUDE_XML_XSI_TYPE
When set totruean XML view will include the appropriatexsi:typeattribute on each value element.- See Also:
- Constant Field Values
-
PRETTY_PRINT_OUTPUT
static final String PRETTY_PRINT_OUTPUT
When set totrueand is supported by the writer, output will be pretty printed.- See Also:
- Constant Field Values
-
-