|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
C - the component type, defines what is the concrete type of each
patch component, to be aggregated in a XCAP DIFF patchD - the document type, defines what is the concrete type of XML
documents usedE - the element type, defines what is the concrete type of XML
elements usedN - the xml patch ops node type, defines what is the concrete type of
XML patch ops node params used by
XmlPatchOperationsBuilderpublic interface DocumentPatchComponentBuilder<C,D,E,N>
Builds patch components indicating changes in a document.
| Method Summary | |
|---|---|
C |
buildPatchComponent(java.lang.String sel,
java.lang.String previousETag,
java.lang.String newETag,
C[] patchingInstructions)
Builds a document patch component, from an array of patching instructions. |
C |
getBodyNotChangedPatchingInstruction()
Retrieves the patching instruction which indicates that the document body did not change. |
XmlPatchOperationsBuilder<D,C,E,N> |
getXmlPatchOperationsBuilder()
Retrieves the XML Patch Ops (RFC 5261) builder, used to build patching instructions. |
| Method Detail |
|---|
C buildPatchComponent(java.lang.String sel,
java.lang.String previousETag,
java.lang.String newETag,
C[] patchingInstructions)
throws BuildPatchException
sel - the document selector, relative to the xcap root of the final
patch.previousETag - the previous etag of the document.newETag - the new etag of the document.patchingInstructions - instructions to be used as body of patch component returned.
Instruction can be add or remove for instance.
BuildPatchException - if an exception occurred while building the patch, the
concrete exception is the exception's cause.
C getBodyNotChangedPatchingInstruction()
throws BuildPatchException
BuildPatchException - if an exception occurred while building the patch, the
concrete exception is the exception's cause.XmlPatchOperationsBuilder<D,C,E,N> getXmlPatchOperationsBuilder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||