|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.xmlmerge.factory.XPathOperationFactory
public class XPathOperationFactory
An operation factory that resolves operations given a map { xpath (as String), Operation }. The order in the map is relevant if several XPath matches.
| Constructor Summary | |
|---|---|
XPathOperationFactory()
|
|
| Method Summary | |
|---|---|
Operation |
getOperation(org.jdom.Element originalElement,
org.jdom.Element patchElement)
Creates operation (action, mapper and matcher) instances corresponding to a pair of elements from the original and patch DOMs. |
void |
setDefaultOperation(Operation operation)
Sets the default operation returned by this factory. |
void |
setOperationMap(Map map)
Sets the factory's map containing configuration properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPathOperationFactory()
| Method Detail |
|---|
public void setOperationMap(Map map)
map - A map containing configuration properties.public void setDefaultOperation(Operation operation)
operation - The default operation returned by this factory.
public Operation getOperation(org.jdom.Element originalElement,
org.jdom.Element patchElement)
throws AbstractXmlMergeException
getOperation in interface OperationFactoryoriginalElement - Original elementpatchElement - Modified element
AbstractXmlMergeException - If an error occurs during operation creation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||