Class DOMNodeReplaceOperationHandler

Constructor

class DOMNodeReplaceOperationHandler(anchor, datamap, orignode, changednode)
Arguments:
  • anchor
  • datamap
  • orignode
  • changednode

Methods

activate

DOMNodeReplaceOperationHandler#activate()

Activate this hunk, remove old attributes and insert new attributes if necessary.

deactivate

DOMNodeReplaceOperationHandler#deactivate()

Deactivate this hunk, remove inserted attributes and reinsert removed attributes if necessary.

getNode

DOMNodeReplaceOperationHandler#getNode()

Return the currently activated node

isActive

DOMNodeReplaceOperationHandler#isActive()

Return true if this hunk is active.

toggle

DOMNodeReplaceOperationHandler#toggle()

Toggle active state of this hunk.

Table Of Contents

Previous topic

Class DOMOperationHandlerFactory

Next topic

Class DOMTreeSequenceOperationHandler