Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.domsync.core
Class DOMSynchronizer

java.lang.Object
  extended by org.nuxeo.ecm.platform.domsync.core.DOMSynchronizer
All Implemented Interfaces:
IDOMMutationListener, EventListener

public class DOMSynchronizer
extends Object
implements EventListener, IDOMMutationListener

Author:
Max Stepanov

Constructor Summary
DOMSynchronizer(Document document, IDOMSupport domSupport)
           
 
Method Summary
 void addMutationListener(IDOMMutationListener listener)
           
 void handleEvent(DOMMutationEvent event)
          External mutation event handler
 void handleEvent(Event evt)
          Document event handler
 void removeMutationListener(IDOMMutationListener listener)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMSynchronizer

public DOMSynchronizer(Document document,
                       IDOMSupport domSupport)
Method Detail

handleEvent

public void handleEvent(Event evt)
Document event handler

Specified by:
handleEvent in interface EventListener

addMutationListener

public void addMutationListener(IDOMMutationListener listener)

removeMutationListener

public void removeMutationListener(IDOMMutationListener listener)

handleEvent

public void handleEvent(DOMMutationEvent event)
External mutation event handler

Specified by:
handleEvent in interface IDOMMutationListener

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.