net.sf.magicproject.xml.expression
Class Counter

java.lang.Object
  extended by net.sf.magicproject.xml.expression.Counter
All Implemented Interfaces:
XmlToMDB

public class Counter
extends java.lang.Object
implements XmlToMDB

Since:
0.82, 0.94 macro-test
Author:
Fabrice Daugan

Field Summary
static XmlParser.Node macroCounterTest
          The macro-test is a test that can be defined from an action node using counter-test node.
 
Constructor Summary
Counter()
           
 
Method Summary
 int buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of InputStream : Data[size] object's name + '\0' [...]
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

macroCounterTest

public static XmlParser.Node macroCounterTest
The macro-test is a test that can be defined from an action node using counter-test node.

Constructor Detail

Counter

public Counter()
Method Detail

buildMdb

public final int buildMdb(XmlParser.Node node,
                          java.io.OutputStream out)
                   throws java.io.IOException
Write the contained test of the specified node

Specified by:
buildMdb in interface XmlToMDB
Parameters:
node - the XML test container structure
out - outputstream where the card structure will be saved
Returns:
the amount of written action, so return alway ZERO.
Throws:
java.io.IOException


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