Uses of Class
nanoxml.XMLElement

Packages that use XMLElement
nanoxml Contains the NanoXML/Lite XML Parser (v 2.2.3). 
org.jogre.client This package contains non-visual classes which only the client makes use of including the network connection, the game model and controller. 
org.jogre.client.awt This package contains visual classes which aid the creation of games. 
org.jogre.common This package contains classes which are common to both a client or a server. 
org.jogre.common.comm This package contains a number of communication objects (communication classes start with Comm) amd two Interface's which describe the protocol. 
 

Uses of XMLElement in nanoxml
 

Methods in nanoxml that return XMLElement
protected  XMLElement XMLElement.createAnotherElement()
          Creates a new similar XML element.
 

Methods in nanoxml with parameters of type XMLElement
 void XMLElement.addChild(XMLElement child)
          Adds a child element.
 void XMLElement.removeChild(XMLElement child)
          Removes a child element.
protected  void XMLElement.scanElement(XMLElement elt)
          Scans an XML element.
 

Uses of XMLElement in org.jogre.client
 

Methods in org.jogre.client with parameters of type XMLElement
 void JogreController.sendObject(XMLElement message)
          Send a more complex object (any object which implements the ITransmittable interface).
 void JogreController.recieveObject(XMLElement message)
          Recieve object as XML from a client or server (use this when more advanced data is required from the server or a client).
 void ITable.receiveTableMessage(XMLElement message)
          Recieve method which the client must over write.
 void IClient.receiveGameMessage(XMLElement message)
          Recieve a message specific to a particular game.
 void ClientConnectionThread.parse(XMLElement message)
          Parse method which reads the first token of the message and calls the appropriate method.
 

Uses of XMLElement in org.jogre.client.awt
 

Methods in org.jogre.client.awt with parameters of type XMLElement
 void JogreTableFrame.receiveTableMessage(XMLElement message)
          Implementation of the ITable interface.
protected  void JogreTableFrame.receiveMessage(XMLElement message)
          Adapter method for receiving a custom message.
 void JogreClientFrame.receiveGameMessage(XMLElement message)
           
protected  void JogreClientFrame.receiveMessage(XMLElement message)
          Adapter method for receiving a custom message.
 void JogreClientFrame.receiveTableMessage(XMLElement message)
          Recieve a table message and delegate it to the correct frame.
 

Uses of XMLElement in org.jogre.common
 

Methods in org.jogre.common that return XMLElement
 XMLElement UserList.flatten()
          Flatten the current list of logged on users.
 XMLElement User.flatten()
          Flatten the User object for transmission.
 XMLElement TableList.flatten()
          Flatten the current list of logged on users.
 XMLElement Table.flatten(boolean modelStateAttached)
          Flatten the table object.
 XMLElement Table.flatten()
          Flatten this object without the model state attached (this is the default way of doing things).
 XMLElement PlayerList.flatten()
          Flatten the String so that it can be transmitted.
 XMLElement Player.flatten()
          Transmittable String representation of this object (XML).
 XMLElement JogreModel.flatten()
          Returns the state/snapshot of a particular game.
 XMLElement GameSnapshot.flatten()
          Flatten into an XML element.
 

Methods in org.jogre.common with parameters of type XMLElement
 void JogreModel.setState(XMLElement message)
          Set the state of the model (set values of the model equal to the values of this model by copying its values.
abstract  void AbstractConnectionThread.parse(XMLElement message)
          This abstract method must be overwritten by a child which extends this class.
 

Constructors in org.jogre.common with parameters of type XMLElement
UserList(XMLElement message)
          Constructor which reads a user list from a String.
User(XMLElement message)
          Constructor which creates a User object from the flatten () method of another User object.
TableList(XMLElement message)
          Constructor which recreates a Table object using a String from the ITransmittable.flatten() method from another TableList object.
Table(XMLElement message)
          Create Table object from a String.
PlayerList(XMLElement message)
          Constructor which creates a Player object from the flatten () method of another Player object.
Player(XMLElement message)
          Constructor which creates a Player object from the flatten () method of another Player object.
GameSnapshot(XMLElement message)
          Constructor which takes in an XML element.
 

Uses of XMLElement in org.jogre.common.comm
 

Fields in org.jogre.common.comm declared as XMLElement
protected  XMLElement CommControllerObject.data
          XMLElement of data.
 

Methods in org.jogre.common.comm that return XMLElement
 XMLElement ITransmittable.flatten()
          This method flattens an ITransmittable object into a XMLElement which can be transmitted.
 XMLElement CommTableMessage.flatten(String name)
          Create an abstract XMLElement which sub classes can use.
 XMLElement CommTableAction.flatten()
          Flatten the String for transmission purposes.
 XMLElement CommOfferDraw.flatten()
          Flatten the String.
 XMLElement CommMasterServerMessage.flatten()
          Flatten this object into an XML String.
 XMLElement CommMasterServerConnect.flatten()
          Flatten this object into an XML String.
 XMLElement CommInvite.flatten()
          Flatten this offer draw object.
 XMLElement CommGameOver.flatten()
          Flatten communciation object.
 XMLElement CommGameMessage.flatten(String name)
          Create a generic (nameless) XMLElement which sub classes can use.
 XMLElement CommGameConnect.flatten()
          Flatten the connect object into a XML communication object.
 XMLElement CommError.flatten()
           
 XMLElement CommDisconnect.flatten()
          Flatten disconnect object.
 XMLElement CommControllerProperty.flatten()
          Flatten communciation object.
 XMLElement CommControllerObject.getData()
          Return the data back to the user.
 XMLElement CommControllerObject.flatten()
           
 XMLElement CommChatTable.flatten()
          Transmittable String representation of this object.
 XMLElement CommChatGame.flatten()
          Transmittable String representation of this object.
 XMLElement CommBaseMessage.flatten(String name)
          Create a generic (nameless) XMLElement which sub classes can use.
 

Methods in org.jogre.common.comm with parameters of type XMLElement
 void CommControllerObject.setData(XMLElement data)
          Set data.
 

Constructors in org.jogre.common.comm with parameters of type XMLElement
CommTableMessage(XMLElement message)
          Constructor which parses the XMLElement into class fields.
CommTableAction(XMLElement message)
          Constructor which creates a CommTableAction object from the flatten () method of another CommTableAction object.
CommOfferDraw(XMLElement message)
          Constructor which creates a CommOfferDraw object from the flatten () method of another CommInvite object.
CommMasterServerMessage(XMLElement message)
          Constructor for a master server message.
CommMasterServerConnect(XMLElement message)
           
CommInvite(XMLElement message)
          Constructor which creates a CommInvite object from the flatten () method of another CommInvite object.
CommGameOver(XMLElement message)
          Constructor which reads the game over object from a String.
CommGameMessage(XMLElement message)
          Constructor which takes an XMLElement from a flatten method of another CommGameMessage object.
CommGameConnect(XMLElement message)
          Constructor which creates a CommConnect object from the flatten () method of another CommConnect object.
CommError(XMLElement message)
          Constructor which creates a CommError object from the flatten () method of another CommError object.
CommDisconnect(XMLElement message)
          Constructor which creates a CommDisconnect object from the flatten () method of another CommDisconnect object.
CommControllerProperty(XMLElement message)
          Constructor which reads the game over object from a String.
CommControllerObject(XMLElement message)
          Constructor which takes an XMLElement.
CommChatTable(XMLElement message)
          Constructor which creates a CommChatRoom object from the flatten () method of another CommChatRoom object.
CommChatGame(XMLElement message)
          Constructor which creates a CommChatBroadcast object from the flatten () method of another CommChatBroadcast object.
CommBaseMessage(XMLElement message)
          Constructor which parses the XMLElement into class fields.