public interface OutputConfigFlags
| Modifier and Type | Field and Description | 
|---|---|
| static int | CFG_ADD_SPACE_AFTER_EMPTY_ELEMFlag that indicates
 whether writer is to add a single white space before closing "/>"
 of the empty element or not. | 
| static int | CFG_AUTO_CLOSE_OUTPUTProperty that enables/disables stream write to close the underlying
 output target, either when it is asked to (.close() is called), or
 when it doesn't need it any more (reaching EOF, hitting an
 unrecoverable exception). | 
| static int | CFG_AUTOMATIC_EMPTY_ELEMENTS | 
| static int | CFG_AUTOMATIC_END_ELEMENTSFlag that indicates we can output 'automatic' empty elements;
 end elements needed to close the logical output tree when
 stream writer is closed (by closing it explicitly, or by writing
 end-document event) | 
| static int | CFG_AUTOMATIC_NS | 
| static int | CFG_COPY_DEFAULT_ATTRSFlag that indicates whether attributes expanded from default attribute
 values should be copied to output, when using copy methods. | 
| static int | CFG_ENABLE_NSFlag that indicates whether writer is namespace-aware or not; if not,
 only local part is ever used. | 
| static int | CFG_ESCAPE_CRFlag that indicates whether CR (\r, ascii 13) characters occuring
 in text (CHARACTERS) and attribute values should be escaped using
 character entities or not. | 
| static int | CFG_FIX_CONTENTFlag that will enable writer that checks for validity of content
 to try to fix the problem, by splitting output segments as
 necessary. | 
| static int | CFG_OUTPUT_CDATA_AS_TEXTWhether writer should just automatically convert all calls that
 would normally produce CDATA to produce (quoted) text. | 
| static int | CFG_USE_DOUBLE_QUOTES_IN_XML_DECLProperty that indicates if singe quotes or double quotes should be
 used in the XML declaration. | 
| static int | CFG_VALIDATE_ATTRFlag that indicates we should check uniqueness of attribute names,
 to prevent accidental output of duplicate attributes. | 
| static int | CFG_VALIDATE_CONTENTFlag that indicates we should check validity of textual content of
 nodes that have constraints. | 
| static int | CFG_VALIDATE_NAMESFlag that indicates we should check validity of names (element and
 attribute names and prefixes; processing instruction names), that they
 contain only legal identifier characters. | 
| static int | CFG_VALIDATE_STRUCTURE | 
static final int CFG_ENABLE_NS
static final int CFG_AUTOMATIC_NS
static final int CFG_AUTOMATIC_EMPTY_ELEMENTS
static final int CFG_OUTPUT_CDATA_AS_TEXT
static final int CFG_COPY_DEFAULT_ATTRS
static final int CFG_ESCAPE_CR
static final int CFG_ADD_SPACE_AFTER_EMPTY_ELEM
static final int CFG_AUTOMATIC_END_ELEMENTS
static final int CFG_VALIDATE_STRUCTURE
static final int CFG_VALIDATE_CONTENT
Specifically: comments can not have '--', CDATA sections can not have ']]>' and processing instruction can not have '?<' character combinations in content passed in.
static final int CFG_VALIDATE_NAMES
static final int CFG_VALIDATE_ATTR
static final int CFG_FIX_CONTENT
static final int CFG_AUTO_CLOSE_OUTPUT
static final int CFG_USE_DOUBLE_QUOTES_IN_XML_DECL
Copyright © 2018 FasterXML. All rights reserved.