net.sf.magicproject.xml
Class XmlAction

java.lang.Object
  extended by net.sf.magicproject.xml.XmlAction

public final class XmlAction
extends java.lang.Object

Since:
0.80
Author:
Fabrice Daugan

Method Summary
static void buildMdb(Actiontype actionType, XmlParser.Node node, java.io.OutputStream out)
          Write the action of the specified node to the given output stream.
static XmlToMDB getAction(java.lang.String actionName)
          Return the action writter from the given name.
static void writeDebug(java.lang.String debugData, java.io.OutputStream out)
          Write some debug data to the given output stream.
static void writeModifyRegister(java.io.OutputStream out, XmlParser.Node node, boolean withValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeModifyRegister

public static void writeModifyRegister(java.io.OutputStream out,
                                       XmlParser.Node node,
                                       boolean withValue)
                                throws java.io.IOException
Parameters:
out -
node -
withValue -
Throws:
java.io.IOException - If some other I/O error occurs

getAction

public static XmlToMDB getAction(java.lang.String actionName)
Return the action writter from the given name.

Parameters:
actionName - the action name.
Returns:
the action writter from the given name.

buildMdb

public static void buildMdb(Actiontype actionType,
                            XmlParser.Node node,
                            java.io.OutputStream out)
                     throws java.io.IOException
Write the action of the specified node to the given output stream.

Parameters:
actionType - the action type.
node - the XML test container structure
out - outputstream where the test container structure will be saved if an illegal argument is given if a security error occurs
Throws:
java.io.IOException - error while writing action.

writeDebug

public static void writeDebug(java.lang.String debugData,
                              java.io.OutputStream out)
Write some debug data to the given output stream.

Parameters:
debugData - debug data to write.
out - outputstream where the test container structure will be saved if an illegal argument is given if a security error occurs


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