|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Classes that implement the PatchDescriptor interface
describe how to create patches from objects and apply patches to
objects that do not implement the Patchable
interface. Using this mechanism, also classes that belong to the
core Java API can be upgraded to patchable
classes.
| Method Summary | |
void |
doApplyPatch(java.lang.Object orig,
java.lang.Object copy,
PatchInput s)
Called by PatchAdapter.applyPatch(PatchReader). |
java.lang.Object |
doClone(java.lang.Object orig)
|
void |
doCreatePatch(java.lang.Object orig,
java.lang.Object copy,
PatchOutput s)
Called by PatchAdapter.createPatch(MarshalStream). |
void |
doDescendReferences(java.lang.Object orig,
ReferenceConsumer c)
|
void |
doFilterReferences(java.lang.Object orig,
ReferenceFilter c)
|
| Method Detail |
public void doCreatePatch(java.lang.Object orig,
java.lang.Object copy,
PatchOutput s)
throws java.io.IOException
PatchAdapter.createPatch(MarshalStream).
java.io.IOExceptionPatchable.createPatch(java.lang.Object, uka.patch.PatchOutput)
public void doDescendReferences(java.lang.Object orig,
ReferenceConsumer c)
throws java.io.IOException
java.io.IOExceptionReferenceProducer.descendReferences(uka.patch.ReferenceConsumer)
public void doFilterReferences(java.lang.Object orig,
ReferenceFilter c)
public void doApplyPatch(java.lang.Object orig,
java.lang.Object copy,
PatchInput s)
throws java.io.IOException,
java.lang.ClassNotFoundException
PatchAdapter.applyPatch(PatchReader).
java.io.IOException
java.lang.ClassNotFoundExceptionPatchable.applyPatch(java.lang.Object, uka.patch.PatchInput)public java.lang.Object doClone(java.lang.Object orig)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||