org.xulfaces.bridge
Class Bridge

java.lang.Object
  extended by org.xulfaces.bridge.Bridge

public class Bridge
extends java.lang.Object

Defines a bridge between server and client side.

It contains a set of Command.

Commands are executed by the client side in order to update the DOM.

There is only one Bridge objet per session.

The current bridge object is serialized in current xul page via a set of tag (xfc namespace).

You can get the current Bridge instance with XulUtils.getBridge() method.

Version:
$Id: Bridge.java,v 1.3 2005/11/06 17:54:59 kito31 Exp $
Author:
kito31

Constructor Summary
Bridge()
           
 
Method Summary
 void addCommand(Command command)
          Add a Command to the current bridge
 java.util.Set<Command> getCommands()
           
 void setCommands(java.util.Set<Command> commands)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bridge

public Bridge()
Method Detail

getCommands

public java.util.Set<Command> getCommands()

setCommands

public void setCommands(java.util.Set<Command> commands)

addCommand

public void addCommand(Command command)

Add a Command to the current bridge

Parameters:
command - A Command object


Copyright © 2007 null. All Rights Reserved.