net.sf.magicproject.xml.action
Class Faceup

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

public class Faceup
extends java.lang.Object
implements XmlToMDB

Since:
0.90, 0.91 'for' constraint attribute, default [everyone] is added.
Author:
Hoani CROSS

Constructor Summary
Faceup()
           
 
Method Summary
 int buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : idAction [1] int8 : 1 (means face up for Face action) [0] visibility [1]
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Faceup

public Faceup()
Method Detail

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.