net.sf.magicproject.xml.action
Class Msg

java.lang.Object
  extended by net.sf.magicproject.xml.action.Msg
All Implemented Interfaces:
XmlToMDB

public class Msg
extends java.lang.Object
implements XmlToMDB

Since:
0.82
Author:
Fabrice Daugan

Constructor Summary
Msg()
           
 
Method Summary
 int buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] controller (idToken) [2] text to display +'/0' [...]
static void buildMdbMsg(Actiontype actionType, XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] action name [String] controller [TestOn] text to display [String]
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Msg

public Msg()
Method Detail

buildMdbMsg

public static void buildMdbMsg(Actiontype actionType,
                               XmlParser.Node node,
                               java.io.OutputStream out)
                        throws java.io.IOException

Parameters:
actionType - the action type.
node - the XML action structure
out - outputstream where the card structure will be saved.
Throws:
java.io.IOException - If some other I/O error occurs

buildMdb

public final int buildMdb(XmlParser.Node node,
                          java.io.OutputStream out)
                   throws java.io.IOException

Specified by:
buildMdb in interface XmlToMDB
Parameters:
node - the XML action structure
out - outputstream where the card structure will be saved.
Returns:
the amount of written action in the output.
Throws:
java.io.IOException


Copyright © 2003-2007 Magic-Project. All Rights Reserved.