Interface WriterKeys
-
public interface WriterKeys
Keys used for configuration options of aViewWriter
.- Author:
- Carl Harris
-
-
Field Summary
Fields Modifier and Type Field Description static String
INCLUDE_NULL_PROPERTIES
When set totrue
a writer will include properties from the view whose value is null.static String
INCLUDE_XML_XSI_TYPE
When set totrue
an XML view will include the appropriatexsi:type
attribute on each value element.static String
PRETTY_PRINT_OUTPUT
When set totrue
and is supported by the writer, output will be pretty printed.static String
WRAP_ARRAY_IN_ENVELOPE
When set tofalse
a view whose root is of array type will not be wrapped in an envelope.static String
WRAP_OBJECT_IN_ENVELOPE
When set totrue
a 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 totrue
a 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 totrue
a 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 tofalse
a 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 totrue
an XML view will include the appropriatexsi:type
attribute on each value element.- See Also:
- Constant Field Values
-
PRETTY_PRINT_OUTPUT
static final String PRETTY_PRINT_OUTPUT
When set totrue
and is supported by the writer, output will be pretty printed.- See Also:
- Constant Field Values
-
-