org.mobicents.protocols.xcap.diff
Interface XcapDiffPatchApplier<P,D>

Type Parameters:
P - the type of the path to apply
D - the type of the document to be patched

public interface XcapDiffPatchApplier<P,D>

Generic interface for classes capable of applying patch XML Diff path to a XML document.

Author:
baranowb, emmartins

Method Summary
 void applyPatch(P patch, D document)
          Applies the specified patch to the specified document.
 

Method Detail

applyPatch

void applyPatch(P patch,
                D document)
                throws ApplyPatchException
Applies the specified patch to the specified document.

Parameters:
patch - the patch to be applied to document
document - the document to be patched
Throws:
ApplyPatchException - if an exception occurred while applying the patch, the concrete exception thrown is the exception's cause


Copyright © 2011. All Rights Reserved.