public final class XmlConfiguration extends Configuration<XmlTypeMappingRegistry,XmlEntryPoint>
Configuration| Modifier and Type | Class and Description |
|---|---|
static interface |
XmlConfiguration.Defaults
Set of default configuration values.
|
| Constructor and Description |
|---|
XmlConfiguration()
Constructs a new
XmlConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
XmlConfiguration |
createCopy()
Creates a copy of this
Configuration. |
protected XmlTypeMappingRegistry |
createDefaultTypeMappingRegistry()
Creates the default type mapping registry to be used if none is explicitly given.
|
QName |
getDataTypeAttributeName()
Returns the name of the attribute denoting a data type.
|
XmlDataTypeDefaultNameRegistry |
getDataTypeDefaultNameRegistry()
Returns the data type default name registry to be used.
|
String |
getLineBreak()
Returns the line break used for serializing.
|
String |
getLineIndentation()
Returns the line indentation used for serializing.
|
XmlLowLevelConfiguration |
getLowLevelConfiguration()
Returns the low level configuration object.
|
NamespaceManager |
getNamespaceManager()
Returns the
NamespaceManager to be used for serialization only. |
void |
setDataTypeAttributeName(QName dataTypeAttributeName)
Sets the name of the attribute that denotes the data type of the respective element.
|
void |
setDataTypeDefaultNameRegistry(XmlDataTypeDefaultNameRegistry dataTypeDefaultNameRegistry)
Sets the data type default name registry.
|
void |
setLineBreak(String lineBreak)
Sets the line break to be used for serializing.
|
void |
setLineIndentation(String lineIndentation)
Sets the line indentation to be used for serializing.
|
void |
setLowLevelConfiguration(XmlLowLevelConfiguration lowLevelConfig)
Sets the xml low level configuration object.
|
void |
setNamespaceManager(NamespaceManager namespaceManager)
Sets the namespace manager.
|
getEntryPoints, getObjectAccessorProvider, getSimpleTypeConverterProvider, getTypeMappingRegistry, getValidationMode, getValidatorProvider, setEntryPoints, setObjectAccessorProvider, setSimpleTypeConverterProvider, setTypeMappingRegistry, setValidationMode, setValidatorProviderpublic XmlConfiguration createCopy()
Configuration.createCopy in class Configuration<XmlTypeMappingRegistry,XmlEntryPoint>Configurationpublic XmlDataTypeDefaultNameRegistry getDataTypeDefaultNameRegistry()
public XmlLowLevelConfiguration getLowLevelConfiguration()
public void setLowLevelConfiguration(XmlLowLevelConfiguration lowLevelConfig)
lowLevelConfig - the xml low level configuration object.public NamespaceManager getNamespaceManager()
NamespaceManager to be used for serialization only.XmlLowLevelConfiguration.getNamespaceManager()public QName getDataTypeAttributeName()
XmlLowLevelConfiguration.getDataTypeAttributeName()public String getLineBreak()
LowLevelConfiguration.getLineBreak()public String getLineIndentation()
XmlLowLevelConfiguration.getLineIndentation()public void setDataTypeDefaultNameRegistry(XmlDataTypeDefaultNameRegistry dataTypeDefaultNameRegistry)
dataTypeDefaultNameRegistry - the data type default name registrypublic void setNamespaceManager(NamespaceManager namespaceManager)
namespaceManager - the namespace manager.XmlLowLevelConfiguration.setNamespaceManager(org.jsefa.xml.namespace.NamespaceManager)public void setDataTypeAttributeName(QName dataTypeAttributeName)
dataTypeAttributeName - the data type attribute nameXmlLowLevelConfiguration.setDataTypeAttributeName(org.jsefa.xml.namespace.QName)public void setLineIndentation(String lineIndentation)
lineIndentation - the line indentationXmlLowLevelConfiguration.setLineIndentation(java.lang.String)public void setLineBreak(String lineBreak)
lineBreak - the line breakLowLevelConfiguration.setLineBreak(java.lang.String)protected XmlTypeMappingRegistry createDefaultTypeMappingRegistry()
createDefaultTypeMappingRegistry in class Configuration<XmlTypeMappingRegistry,XmlEntryPoint>Copyright © 2014. All rights reserved.