net.sf.magicproject.xml
Interface XmlToMDB

All Known Implementing Classes:
Ability, Abilityis, Abilitymodifier, Abilitysource, Abort, Action, Actionsource, Activatedability, Add, Addability, Addhalfrounded, Addhalftruncated, Additionalcostmodifier, Addmodifier, Addobject, And, And, Arrangedzone, Assigndamage, Assigndamagelist, Assigneddamage, Attach, Attachedto, Attachlist, Becometapped, Becomeuntapped, Beforephase, Beginningofphase, Bitcount, Card, Cardcolors, Cardtypes, Casting, Catchexception, Choice, Colormodifier, Controller, Controllermodifier, Copycard, Counter, Createability, Createcard, Createmodifier, Database, Deckcounter, Deckcounter, Declaredattacking, Declaredblocking, Detached, Detachme, Divrounded, Divtruncated, DummyBuilder, Endofphase, Faceddown, Facedown, Facedup, Faceup, Forceplay, Generateevent, Givemana, Givenmana, Has, Hasability, Hasaction, Hascolor, Hasidcard, Haskeyword, Hasname, Hasprivateobject, Hasproperty, Hidezone, Highestamong, Hop, Idcardmodifier, Ifthenelse, Ifthenhop, Inidcard, Inputcolor, Inputnumber, Inputproperty, Inputzone, Insertability, Int, Intlist, Intlist, Inzone, Is, Isaborting, Isthis, Lethaldamage, Lethaldamage, Losegame, Losinggame, Lowestamong, Macro, Manapaid, Max, Method, Min, Minus, Modifiedcolor, Modifiedcontroller, Modifiedidcard, Modifiedowner, Modifiedproperty, Modifiedregister, Modifyregister, Movecard, Movedcard, Moveobject, Moveplayercard, Msg, Mult, Nextcurrentplayer, Nextphase, Not, Null, Object, Or, Or, Owner, Paymana, Phaseis, Playableability, Playablezonemodifier, Position, Position, Previouszone, Privateobject, Propertymodifier, Registerindirection, Registermodifier, Removeobject, Repeat, Replacementability, Replacetested, Resolvehidden, Restorecard, Rot0, Rot90, Setidcard, Showzone, Shuffle, Skipphase, Sound, Staticmodifier, Systemability, Tap, Target, Targeted, Targetlist, Targetlist, Targetlist, Tbs, Test, Tocode, Toindex, Triggeredability, Unregisterthis, Untap, Updatelife, Updatelife, Updatetoughness, Updatetoughness, Validattachment, Validtargetattachment, XmlAnnoted, XmlAnnoted, XmlTest, Xor

public interface XmlToMDB

Since:
0.82
Author:
Fabrice Daugan

Method Summary
 int buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
 

Method Detail

buildMdb

int buildMdb(XmlParser.Node node,
             java.io.OutputStream out)
             throws java.io.IOException
Parameters:
node - the XML structure of element to write.
out - outputstream where the card structure will be saved
Returns:
the amount of written action in the output.
Throws:
java.io.IOException - If some other I/O error occurs


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