org.apache.tuscany.sdo.api
Interface SDOHelper.XMLOptions

Enclosing interface:
SDOHelper

public static interface SDOHelper.XMLOptions

This interface contains options that can be passed to the XMLHelper load() and save() methods.


Field Summary
static String XML_LOAD_LAX_FORM
          To tolerate malformed elements and attributes (default unless set by System property XML.load.form.lax).
static String XML_LOAD_SCHEMA
          Boolean to process the schemaLocation/noNamespaceSchemaLocation attributes occurring in the instance document to convert XSD(s) to Types
static String XML_LOAD_UNKNOWN_PROPERTIES
          Allows you to record unknown features during deserialization/loading.
static String XML_SAVE_DOCTYPE
          Boolean to save a doctype declaration
static String XML_SAVE_INDENT
          Indent String such as "\t", "", etc.
static String XML_SAVE_LINE_BREAK
          Line Break String such as "\n", "\r\n", "\r" and "", absence/null is the default (line.separator System Property)
static String XML_SAVE_LINE_WIDTH
          Attribute formatting that exceeds the specified width as Integer will cause a line break so that formatting will continue indented on the next line
static String XML_SAVE_MARGIN
          Margin String such as " ", "\t\t", etc.
 

Field Detail

XML_SAVE_LINE_BREAK

static final String XML_SAVE_LINE_BREAK
Line Break String such as "\n", "\r\n", "\r" and "", absence/null is the default (line.separator System Property)

See Also:
Constant Field Values

XML_SAVE_INDENT

static final String XML_SAVE_INDENT
Indent String such as "\t", "", etc. absence/null is the default (" ")

See Also:
Constant Field Values

XML_SAVE_MARGIN

static final String XML_SAVE_MARGIN
Margin String such as " ", "\t\t", etc. Absence/null/"" is the default (no margin)

See Also:
Constant Field Values

XML_SAVE_LINE_WIDTH

static final String XML_SAVE_LINE_WIDTH
Attribute formatting that exceeds the specified width as Integer will cause a line break so that formatting will continue indented on the next line

See Also:
Constant Field Values

XML_SAVE_DOCTYPE

static final String XML_SAVE_DOCTYPE
Boolean to save a doctype declaration

See Also:
Constant Field Values

XML_LOAD_SCHEMA

static final String XML_LOAD_SCHEMA
Boolean to process the schemaLocation/noNamespaceSchemaLocation attributes occurring in the instance document to convert XSD(s) to Types

See Also:
Constant Field Values

XML_LOAD_LAX_FORM

static final String XML_LOAD_LAX_FORM
To tolerate malformed elements and attributes (default unless set by System property XML.load.form.lax). 0 not to.

See Also:
Constant Field Values

XML_LOAD_UNKNOWN_PROPERTIES

static final String XML_LOAD_UNKNOWN_PROPERTIES
Allows you to record unknown features during deserialization/loading. The default is Boolean.FALSE unless set to Boolean.TRUE explicitly.

See Also:
Constant Field Values


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.