public class PropertyXPathConfigurer extends AbstractXPathConfigurer
XPathOperationFactory configuration from
a property file or a map.| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_PREFIX
Action pathname prefix.
|
static String |
DEFAULT_ACTION_KEY
Default action pathname.
|
static String |
DEFAULT_MAPPER_KEY
Default mapper pathname.
|
static String |
DEFAULT_MATCHER_KEY
Default matcher pathname.
|
static String |
MAPPER_PREFIX
Mapper pathname prefix.
|
static String |
MATCHER_PREFIX
Matcher pathname prefix.
|
static String |
PATH_PREFIX
XPath pathname prefix.
|
| Constructor and Description |
|---|
PropertyXPathConfigurer(Map<String,String> map)
Creates a PropertyXPathConfigurer which reads the configuration from a map.
|
PropertyXPathConfigurer(Properties properties)
Creates a PropertyXPathConfigurer which reads the configuration from a
Properties object. |
PropertyXPathConfigurer(String propString)
Creates a PropertyXPathConfigurer which reads the configuration from a properties file.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
readConfiguration()
Reads the configuration used to configure an XmlMerge.
|
addAction, addMapper, addMatcher, configure, setActionResolver, setDefaultAction, setDefaultMapper, setDefaultMatcher, setMapperResolver, setMatcherResolver, setRootMergeActionpublic static final String DEFAULT_ACTION_KEY
public static final String DEFAULT_MAPPER_KEY
public static final String DEFAULT_MATCHER_KEY
public static final String PATH_PREFIX
public static final String MAPPER_PREFIX
public static final String MATCHER_PREFIX
public static final String ACTION_PREFIX
public PropertyXPathConfigurer(String propString) throws ConfigurationException
propString - A string representing the name of a properties fileConfigurationException - If an error occurred during the creation of the configurerpublic PropertyXPathConfigurer(Map<String,String> map)
map - A map containing configuration propertiespublic PropertyXPathConfigurer(Properties properties)
Properties object.properties - The configuration propertiesprotected void readConfiguration()
throws ConfigurationException
AbstractXPathConfigurerreadConfiguration in class AbstractXPathConfigurerConfigurationException - If an error occurred during the readCopyright © 2001–2025. All rights reserved.