public class XmlConfigurer extends Object implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
static String |
CDATA_SECTIONS |
static String |
ELEMENT_CONTENT_WHITESPACE |
static String |
FORMAT_PRETTY_PRINT |
static String |
RESOURCE_RESOLVER |
static String |
SPLIT_CDATA_SECTIONS |
static String |
VALIDATE_IF_SCHEMA |
Constructor and Description |
---|
XmlConfigurer() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected void |
configureParser(LSParser parser)
Set parser configuration based on this configurers settings.
|
protected void |
configureSerializer(LSSerializer serializer)
Set serializer configuration based on this configurers settings.
|
LSInput |
createLSInput()
Creates LSInput from dom implementation.
|
LSOutput |
createLSOutput()
Creates LSOutput from dom implementation.
|
LSParser |
createLSParser()
Creates basic LSParser instance and sets common
properties and configuration parameters.
|
LSResourceResolver |
createLSResourceResolver()
Creates LSResourceResolver from dom implementation.
|
LSSerializer |
createLSSerializer()
Creates basic LSSerializer instance and sets common
properties and configuration parameters.
|
void |
setParserConfigParameter(LSParser parser,
String parameterName,
Object value)
Sets a config parameter on LSParser instance if settable.
|
void |
setParseSettings(Map<String,Object> parseSettings)
Sets the parseSettings property.
|
void |
setSerializerConfigParameter(LSSerializer serializer,
String parameterName,
Object value)
Sets a config parameter on LSParser instance if settable.
|
void |
setSerializeSettings(Map<String,Object> serializeSettings)
Sets the serializeSettings property.
|
public static final String SPLIT_CDATA_SECTIONS
public static final String FORMAT_PRETTY_PRINT
public static final String ELEMENT_CONTENT_WHITESPACE
public static final String CDATA_SECTIONS
public static final String VALIDATE_IF_SCHEMA
public static final String RESOURCE_RESOLVER
public LSParser createLSParser()
protected void configureParser(LSParser parser)
parser
- public LSSerializer createLSSerializer()
protected void configureSerializer(LSSerializer serializer)
serializer
- public LSInput createLSInput()
public LSOutput createLSOutput()
public LSResourceResolver createLSResourceResolver()
public void setSerializerConfigParameter(LSSerializer serializer, String parameterName, Object value)
serializer
- parameterName
- value
- public void setParserConfigParameter(LSParser parser, String parameterName, Object value)
parser
- parameterName
- value
- public void setParseSettings(Map<String,Object> parseSettings)
parseSettings
- public void setSerializeSettings(Map<String,Object> serializeSettings)
serializeSettings
- Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.