|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.services.xmlmerge.config.AbstractXPathConfigurer
ch.elca.el4j.services.xmlmerge.config.PropertyXPathConfigurer
public class PropertyXPathConfigurer
Reads the XPathOperationFactory
configuration from a property file or a map.
Field Summary | |
---|---|
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 Summary | |
---|---|
PropertyXPathConfigurer(Map 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. |
Method Summary | |
---|---|
protected void |
readConfiguration()
Reads the configuration used to configure an XmlMerge. |
Methods inherited from class ch.elca.el4j.services.xmlmerge.config.AbstractXPathConfigurer |
---|
addAction, addMapper, addMatcher, configure, setActionResolver, setDefaultAction, setDefaultMapper, setDefaultMatcher, setMapperResolver, setMatcherResolver, setRootMergeAction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public PropertyXPathConfigurer(String propString) throws ConfigurationException
propString
- A string representing the name of a properties file
ConfigurationException
- If an error occurred during the creation of the
configurerpublic PropertyXPathConfigurer(Map map)
map
- A map containing configuration propertiespublic PropertyXPathConfigurer(Properties properties)
Properties
object.
properties
- The configuration propertiesMethod Detail |
---|
protected void readConfiguration() throws ConfigurationException
readConfiguration
in class AbstractXPathConfigurer
ConfigurationException
- If an error occurred during the read
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |