|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Operation in ch.elca.el4j.services.xmlmerge |
---|
Subinterfaces of Operation in ch.elca.el4j.services.xmlmerge | |
---|---|
interface |
Action
Operation on two nodes creating a third node. |
interface |
Mapper
Transforms an element to another element by changing some nested content or attributes. |
interface |
Matcher
Compares two elements to know if they correspond for merging. |
interface |
MergeAction
An action merging the contents of the specified elements. |
Methods in ch.elca.el4j.services.xmlmerge that return Operation | |
---|---|
Operation |
OperationFactory.getOperation(org.jdom.Element originalElement,
org.jdom.Element modifiedElement)
Creates operation (action, mapper and matcher) instances corresponding to a pair of elements from the original and patch DOMs. |
Uses of Operation in ch.elca.el4j.services.xmlmerge.action |
---|
Classes in ch.elca.el4j.services.xmlmerge.action that implement Operation | |
---|---|
class |
AbstractMergeAction
Gathers the operation factory-related behaviour and a default configuration. |
class |
CompleteAction
Copies the patch element only if it does not exist in the orginal document. |
class |
DeleteAction
Keeps the original element only if it does not appear in the patch document. |
class |
DtdInsertAction
Copy the patch element in the output parent with the correct position according to the DTD declared in doctype. |
class |
InsertAction
Copies the patch element into the output by inserting it after already existing elements of the same name. |
class |
OrderedMergeAction
Merge implementation traversing parallelly both element contents. |
class |
OverrideAction
Copies the patch element if it exist in the original, keep the original if no corresponding patch element exists. |
class |
PreserveAction
Copies the original regardless of the existence of patch element. |
class |
ReplaceAction
Copies the patch element if it exists. |
Uses of Operation in ch.elca.el4j.services.xmlmerge.factory |
---|
Methods in ch.elca.el4j.services.xmlmerge.factory that return Operation | |
---|---|
Operation |
AttributeOperationFactory.getOperation(org.jdom.Element originalElement,
org.jdom.Element modifiedElement)
Creates operation (action, mapper and matcher) instances corresponding to a pair of elements from the original and patch DOMs. |
Operation |
DiffOperationFactory.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. |
Operation |
StaticOperationFactory.getOperation(org.jdom.Element originalElement,
org.jdom.Element modifiedElement)
Creates operation (action, mapper and matcher) instances corresponding to a pair of elements from the original and patch DOMs. |
Operation |
XPathOperationFactory.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. |
Operation |
OperationResolver.resolve(String aliasOrClassName)
Resolves an alias or an operation class name to an operation. |
Methods in ch.elca.el4j.services.xmlmerge.factory with parameters of type Operation | |
---|---|
void |
XPathOperationFactory.setDefaultOperation(Operation operation)
Sets the default operation returned by this factory. |
Constructors in ch.elca.el4j.services.xmlmerge.factory with parameters of type Operation | |
---|---|
AttributeOperationFactory(Operation defaultOperation,
OperationResolver resolver,
String keyword,
String namespace)
Creates a new AttributeOperationFactory. |
|
StaticOperationFactory(Operation operation)
Creates a StaticOperationFactory returning the given operation. |
Uses of Operation in ch.elca.el4j.services.xmlmerge.mapper |
---|
Classes in ch.elca.el4j.services.xmlmerge.mapper that implement Operation | |
---|---|
class |
IdentityMapper
Does not transform the element. |
class |
NamespaceFilterMapper
Filters out elements and attributes with a specified namespace. |
Uses of Operation in ch.elca.el4j.services.xmlmerge.matcher |
---|
Classes in ch.elca.el4j.services.xmlmerge.matcher that implement Operation | |
---|---|
class |
IdMatcher
Elements match if their name and 'id' attribute are the same. |
class |
SkipMatcher
Elements compared with this matcher never match. |
class |
TagMatcher
Compares the qualified name of elements. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |