|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jsefa.common.config.Configuration<XmlTypeMappingRegistry,XmlEntryPoint>
net.sf.jsefa.xml.config.XmlConfiguration
public final class XmlConfiguration
A configuration object used when creating an XML IO factory. It uses lazy initialization.
Configuration| Nested Class Summary | |
|---|---|
static interface |
XmlConfiguration.Defaults
Set of default configuration values. |
| Constructor Summary | |
|---|---|
XmlConfiguration()
Constructs a new XmlConfiguration. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.sf.jsefa.common.config.Configuration |
|---|
getEntryPoints, getObjectAccessorProvider, getSimpleTypeConverterProvider, getTypeMappingRegistry, getValidationMode, getValidatorProvider, setEntryPoints, setObjectAccessorProvider, setSimpleTypeConverterProvider, setTypeMappingRegistry, setValidationMode, setValidatorProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlConfiguration()
XmlConfiguration.
| Method Detail |
|---|
public 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(net.sf.jsefa.xml.namespace.NamespaceManager)public void setDataTypeAttributeName(QName dataTypeAttributeName)
dataTypeAttributeName - the data type attribute nameXmlLowLevelConfiguration.setDataTypeAttributeName(net.sf.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>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||