org.itsnat.core.event
Class NodeCompleteTransport

java.lang.Object
  extended by org.itsnat.core.event.ParamTransport
      extended by org.itsnat.core.event.NodeCompleteTransport
All Implemented Interfaces:
java.io.Serializable

public class NodeCompleteTransport
extends ParamTransport

Is used to command ItsNat to transport the current node state (content and attributes) of the specified client node and optionally synchronize it with the matched server DOM node.

After synchronization the server node has the same state as the client counterpart.

Is the sum of the behavior of NodeAllAttribTransport and NodeInnerTransport.

Author:
Jose Maria Arranz Santamaria
See Also:
ItsNatDocument.addEventListener(org.w3c.dom.events.EventTarget,String,EventListener,boolean,int,ParamTransport[],String,long), Serialized Form

Constructor Summary
NodeCompleteTransport()
          Creates a new instance ready to transport the current state of the specified client node and synchronizing the server node.
NodeCompleteTransport(boolean sync)
          Creates a new instance ready to transport the current state of the specified client node with optional server synchronization.
 
Method Summary
 
Methods inherited from class org.itsnat.core.event.ParamTransport
isSync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCompleteTransport

public NodeCompleteTransport()
Creates a new instance ready to transport the current state of the specified client node and synchronizing the server node.


NodeCompleteTransport

public NodeCompleteTransport(boolean sync)
Creates a new instance ready to transport the current state of the specified client node with optional server synchronization.

Parameters:
sync - if true the server node is updated.


Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.