net.sf.magicproject.xml.tbs
Class Card

java.lang.Object
  extended by net.sf.magicproject.xml.tbs.Card
All Implemented Interfaces:
XmlToMDB

public class Card
extends java.lang.Object
implements XmlToMDB

Since:
0.82
Author:
Fabrice Daugan

Constructor Summary
Card()
           
 
Method Summary
 int buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] art author [String] rules author [String] keywords [String[]] registers [IdTokenCard.CARD_REGISTER_SIZE] idCard [int16] idColor [int] abilities [Ability[]] sorted properties [int16[]] modifiers [ModifierModel[]] attachement [boolean] attachement condition [Test[]]
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Card

public Card()
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 card structure
out - outputstream where the card structure will be saved
Returns:
the amount of written action in the output.
Throws:
java.io.IOException - error while writting.
See Also:
MCard


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