com.evolveum.midpoint.common.patch
Class PatchXml

java.lang.Object
  extended by com.evolveum.midpoint.common.xpath.XPathUtil
      extended by com.evolveum.midpoint.common.patch.PatchXml

public class PatchXml
extends XPathUtil

Main class for XML patching

Since:
0.1
Version:
$Revision$ $Date$
Author:
Igor Farinic

Constructor Summary
PatchXml()
           
 
Method Summary
 java.lang.String applyDifferences(ObjectModificationType changes, java.io.File oldXmlFile)
           
 java.lang.String applyDifferences(ObjectModificationType changes, ObjectType objectType)
           
 void setPatchingListener(PatchingListener listener)
           
 
Methods inherited from class com.evolveum.midpoint.common.xpath.XPathUtil
createNodesDefinedByXPath, evaluateExpr, evaluateExpression, matchedNodesByXPath, setupXPath, setupXPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchXml

public PatchXml()
Method Detail

setPatchingListener

public void setPatchingListener(PatchingListener listener)

applyDifferences

public java.lang.String applyDifferences(ObjectModificationType changes,
                                         ObjectType objectType)
                                  throws PatchException
Throws:
PatchException

applyDifferences

public java.lang.String applyDifferences(ObjectModificationType changes,
                                         java.io.File oldXmlFile)
                                  throws PatchException
Throws:
PatchException


Copyright © 2011 evolveum. All Rights Reserved.