public abstract class AbstractXPathConfigurer extends Object implements Configurer
| Constructor and Description |
|---|
AbstractXPathConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAction(String xPath,
String actionName)
Adds an action for a given XPath expression.
|
protected void |
addMapper(String xPath,
String mapperName)
Adds an mapper for a given XPath expression.
|
protected void |
addMatcher(String xPath,
String matcherName)
Adds a matcher for a given XPath expression.
|
void |
configure(XmlMerge xmlMerge)
Configures the specified XmlMerge instance.
|
protected abstract void |
readConfiguration()
Reads the configuration used to configure an XmlMerge.
|
void |
setActionResolver(OperationResolver actionResolver)
Sets the configurer's action resolver.
|
protected void |
setDefaultAction(String actionName)
Sets the configurer's default action.
|
protected void |
setDefaultMapper(String mapperName)
Sets the configurer's default mapper.
|
protected void |
setDefaultMatcher(String matcherName)
Sets the configurer's default matcher.
|
void |
setMapperResolver(OperationResolver mapperResolver)
Sets the configurer's mapper resolver.
|
void |
setMatcherResolver(OperationResolver matcherResolver)
Sets the configurer's matcher resolver.
|
protected void |
setRootMergeAction(String actionName)
Sets the configurer's root merge action.
|
protected final void setDefaultMatcher(String matcherName) throws ConfigurationException
matcherName - The name of the default matcherConfigurationException - If an error occurred during configurationprotected final void setDefaultMapper(String mapperName) throws ConfigurationException
mapperName - The name of the default mapperConfigurationException - If an error occurred during configurationprotected final void setDefaultAction(String actionName) throws ConfigurationException
actionName - The name of the default actionConfigurationException - If an error occurred during configurationprotected final void setRootMergeAction(String actionName) throws ConfigurationException
actionName - The name of the root merge actionConfigurationException - If an error occurred during configurationprotected final void addMatcher(String xPath, String matcherName) throws ConfigurationException
xPath - An XPath expressionmatcherName - The name of the matcher to addConfigurationException - If an error occurred during configurationprotected final void addAction(String xPath, String actionName) throws ConfigurationException
xPath - An XPath expressionactionName - The name of the action to addConfigurationException - If an error occurred during configurationprotected final void addMapper(String xPath, String mapperName) throws ConfigurationException
xPath - An XPath expressionmapperName - The name of the mapper to addConfigurationException - If an error occurred during configurationpublic final void configure(XmlMerge xmlMerge) throws ConfigurationException
Configurerconfigure in interface ConfigurerxmlMerge - An XmlMerge instanceConfigurationExceptionprotected abstract void readConfiguration()
throws ConfigurationException
ConfigurationException - If an error occurred during the readpublic void setActionResolver(OperationResolver actionResolver)
actionResolver - The action resolver to setpublic void setMapperResolver(OperationResolver mapperResolver)
mapperResolver - The mapper resolver to setpublic void setMatcherResolver(OperationResolver matcherResolver)
matcherResolver - the matcher resolver to setCopyright © 2001–2025. All rights reserved.