Uses of Class
net.sf.magicproject.xml.XmlParser.Node

Packages that use XmlParser.Node
net.sf.magicproject.database Database components : manage data download, cache, picture and card name translations. 
net.sf.magicproject.database.propertyconfig All database component is composed by some data (string, collection,...) configured by the classes of this package. 
net.sf.magicproject.xml XML builder components : parsing xml cards/rules to build the MDB file. 
net.sf.magicproject.xml.action XML action builder components : parsing xml cards/rules to build the MDB file. 
net.sf.magicproject.xml.event XML event builder components : parsing xml cards/rules to build the MDB file. 
net.sf.magicproject.xml.expression XML expression builder components : parsing xml cards/rules to build the MDB file. 
net.sf.magicproject.xml.modifier XML modifier builder components : parsing xml cards/rules to build the MDB file. 
net.sf.magicproject.xml.tbs XML rule builder components : parsing xml cards/rules to build the MDB file. 
net.sf.magicproject.xml.test XML test builder components : parsing xml cards/rules to build the MDB file. 
 

Uses of XmlParser.Node in net.sf.magicproject.database
 

Methods in net.sf.magicproject.database with parameters of type XmlParser.Node
 java.lang.String XmlDeckTranslator.convert(XmlParser.Node node, java.lang.String cardName)
          Return the converted card name.
 

Uses of XmlParser.Node in net.sf.magicproject.database.propertyconfig
 

Methods in net.sf.magicproject.database.propertyconfig with parameters of type XmlParser.Node
 TranslatableData PropertyConfig.parseProperty(java.lang.String cardName, XmlParser.Node node)
          Parse the given stream to build the associated TranslatableData object to the specified card name.
 

Constructors in net.sf.magicproject.database.propertyconfig with parameters of type XmlParser.Node
PropertyProxyConfig(XmlParser.Node node)
          Create a new instance of this class.
 

Uses of XmlParser.Node in net.sf.magicproject.xml
 

Fields in net.sf.magicproject.xml with type parameters of type XmlParser.Node
static java.util.Map<java.lang.String,XmlParser.Node> XmlTbs.referencedAbilities
          Available ability references of this Card.
static java.util.Map<java.lang.String,java.util.List<XmlParser.Node>> XmlTbs.referencedActions
          Available actions references of this Card.
static java.util.Map<java.lang.String,XmlParser.Node> XmlTbs.referencedTest
          Available test references of this Card.
 

Methods in net.sf.magicproject.xml that return XmlParser.Node
 XmlParser.Node XmlParser.Node.get(java.lang.String tag)
          Get the first child node with the tag.
static XmlParser.Node XmlTools.getExternalizableNode(XmlParser.Node node, java.lang.String nodeName)
          Return the named node from the given node.
 XmlParser.Node XmlParser.Node.getParent()
           
static XmlParser.Node XmlTbs.getReferencedAbility(java.lang.String abilityName)
          Returns the referenced ability.
static XmlParser.Node XmlTbs.getReferencedAttachment(java.lang.String attachmentName)
          Returns the referenced attachment declared within the rules definition.
static XmlParser.Node XmlTbs.getReferencedTest(java.lang.String testName)
          Returns the referenced test.
 XmlParser.Node XmlParser.parse(org.xml.sax.InputSource source)
           
 XmlParser.Node XmlParser.parse(java.io.InputStream in)
          Parse InputStream.
 XmlParser.Node XmlParser.parse(java.lang.String url)
          Parse string URL.
 

Methods in net.sf.magicproject.xml that return types with arguments of type XmlParser.Node
 java.util.List<XmlParser.Node> XmlParser.Node.getNodes(java.lang.String tag)
          Get the child nodes with the tag.
static java.util.List<XmlParser.Node> XmlTbs.getReferencedActions(java.lang.String actionName)
          Returns the referenced action(s).
 

Methods in net.sf.magicproject.xml with parameters of type XmlParser.Node
static void XmlAction.buildMdb(Actiontype actionType, XmlParser.Node node, java.io.OutputStream out)
          Write the action of the specified node to the given output stream.
 int XmlToMDB.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
 int XmlTest.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
abstract  int XmlAnnoted.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
 int DummyBuilder.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
static void XmlExpression.buildMdbBinary(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
static void XmlTest.buildMdbBinary(XmlParser.Node node, java.io.OutputStream out, IdTest idTests)
          Write the contained binary test of the specified node to the given output stream.
static void XmlEvent.buildMdbCanICast(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] [super] idCard [Expression]
static void XmlTest.buildMdbCard(XmlParser.Node node, java.io.OutputStream out, IdTest idTests)
          Write the contained test relative to a card of the specified node to the given outputstream.
static void XmlModifier.buildMdbModifier(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] modifier name [...]
static void XmlTest.buildMdbObject(XmlParser.Node node, java.io.OutputStream out, IdTest idTests)
          Write the contained test relative to a card of the specified node to the given output stream.
static void XmlEvent.buildMdbPhase(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idZone [1] test [...]
static void XmlTest.buildMdbPlayer(XmlParser.Node node, java.io.OutputStream out, IdTest idTestPlayer)
          Write the contained test relative to a card associated to a player of the specified node to the given output stream.
static void XmlTest.buildMdbPlayerplayer(XmlParser.Node node, java.io.OutputStream out, IdTest idTestPlayer)
          Write the contained test relative to a card associated to a player of the specified node to the given output stream.
static void XmlTest.buildMdbTargetable(XmlParser.Node node, java.io.OutputStream out, IdTest idTests)
          Writes the contained test relative to a targetable of the given node to the given output stream.
static void XmlEvent.buildMdbTriggered(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
static void XmlExpression.buildMdbUnary(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
static XmlParser.Node XmlTools.getExternalizableNode(XmlParser.Node node, java.lang.String nodeName)
          Return the named node from the given node.
 void XmlParser.Node.removeElement(XmlParser.Node o)
          Inserts the specified element at the specified position in this list (optional operation).
 java.lang.String XmlDeckTranslator.replace(XmlParser.Node node, java.lang.String cardName)
           
static void XmlTools.tryWriteExpression(XmlParser.Node node, java.lang.String attribute, java.io.OutputStream out)
          If there is neither attribute neither node with the given name, '-1' is witten instead of throwing an exception.
static int XmlTbs.writeActionList(XmlParser.Node node, java.io.OutputStream out0)
          Writes a list of actions described in the given XML node to the given OutputStream (which must be a FileOutputStream) prefixing the stream with an integer containing the number of written actions and returns this number of written actions.
static int XmlTbs.writeActionListNoNb(XmlParser.Node node, java.io.OutputStream out)
          Writes a list of actions described in the given XML node into the given OutputStream as a sequence and returns the number of written actions.
static void XmlTools.writeAttrOptions(XmlParser.Node node, java.lang.String tagAttr, java.io.OutputStream out)
           
static void XmlTools.writeAttrOptions(XmlParser.Node node, java.lang.String tagAttr, java.io.OutputStream out, java.lang.String nameSpace)
           
static void XmlTools.writeAttrOptionsDefault(XmlParser.Node node, java.lang.String tagAttr, java.io.OutputStream out, java.lang.String defaultValue)
           
static void XmlTools.writeComplexValue(java.io.OutputStream out, XmlParser.Node expr)
           
static void XmlTools.writeList(java.io.OutputStream out, XmlParser.Node node, java.lang.String tagAttr)
          Write to the specified output stream the values defined as linear list ' ' separated values, or 'value' elements.
static void XmlAction.writeModifyRegister(java.io.OutputStream out, XmlParser.Node node, boolean withValue)
           
 

Constructors in net.sf.magicproject.xml with parameters of type XmlParser.Node
XmlParser.Node(XmlParser.Node parent, java.lang.String tag, org.xml.sax.Attributes attrs)
          Create a new instance of this class.
 

Uses of XmlParser.Node in net.sf.magicproject.xml.action
 

Methods in net.sf.magicproject.xml.action with parameters of type XmlParser.Node
 int Updatetoughness.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1]
 int Updatelife.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1]
 int Untap.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] tap=1,untap=0 [1]
 int Unregisterthis.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1]
 int Targetlist.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] operation [1] {idType [1]} {list-index [Expression]} {index [Expression]} {value [Expression]}
 int Target.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] super [Action] target type [Register] test [Test] hop for abort [Expression] options [int] restriction Zone id [int] can be preempted [boolean]
 int Tap.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] tap=1,untap=0 [1]
 int Sound.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] sound filename to play +'/0' [...]
 int Skipphase.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] phase [Expression]
 int Shuffle.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] idZone [1]
 int Showzone.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] zone identifiant [1] show=1,hide=0 [1] to him=0,to opponent=1 [1]
 int Setidcard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] idCard [Expression]
 int Rot90.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] tap=1,untap=0 [1]
 int Rot0.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] tap=1,untap=0 [1]
 int Restorecard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] card to restore [TestOn]
 int Resolvehidden.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1]
 int Repeat.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] idNumber [2]
 int Removeobject.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] object name + '\0' [...]
 int Privateobject.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] operation [1] action's name [String] object's name [String]
 int Paymana.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] the player paying this mana [TestOn] idNumber COLORLESS or IdTokens#REGISTERS[2] idNumber BLACK [2] idNumber BLUE [2] idNumber GREEN [2] idNumber RED [2] idNumber WHITE [2] colors of X = 2^ID__Color1+2^ID__Color2...[2]
 int Nextphase.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] phase filter [1] phase index/id : Expression [...]
 int Nextcurrentplayer.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] player [TestOn]
 int Msg.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] controller (idToken) [2] text to display +'/0' [...]
 int Moveplayercard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] new controller [TestOn] from zone [IdZone] destination zone[IdZone] idPosition [int16]
 int Moveobject.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] object name [String] from [TestOn] to [TestOn]
 int Movecard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] new controller [TestOn] destination zone [IdZone] idPosition [int16] silent [boolean]
 int Modifyregister.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] idModifier [1] register [Register] index [Expression] operation [Operation] value [Expression]
 int Macro.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
 int Losegame.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] player [TestOn]
 int Lethaldamage.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1]
 int Intlist.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] operation [1] {idType [1]} {index : Expression [...]}
 int Insertability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] actions [...]
 int Inputzone.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] super [Input] allowed zones : ListExpression [...]
 int Inputproperty.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] super [Input] allowed properties : ListExpression [...]
 int Inputnumber.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] super [Input] min [Expression] max [Expression] default [Expression] strict-max [boolean]
 int Inputcolor.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] super [Input] allowed colors [Expression[]] is colorless mana available [boolean] multi select [boolean]
 int Ifthenhop.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] test [...]
 int Hop.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] hop value [2] + test if counter mode [...]
 int Hidezone.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] zone identifiant [1] show=1,hide=0 [1] to him=0,to opponent=1 [1]
 int Givemana.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction GIVE_MANA_BASIC/GIVE_MANA_MULTI[1] restriction usage test [...]
 int Generateevent.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] cardToAdd [...]
 int Forceplay.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] on error hop [2] mustBePlayed [1] cardTest [...]
 int Faceup.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : idAction [1] int8 : 1 (means face up for Face action) [0] visibility [1]
 int Facedown.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : idAction [1] int8 : 0 (means face down for Face action) [1] visibility [1]
 int Detachme.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1]
 int Createmodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] modifier to add [...]
 int Createcard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] cardToAdd [...]
 int Createability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] super [Action] nb registers to set [int] register index i [Expression] expression i [Expression] idToken of card to save [TestOn] idToken of card to save [TestOn] ability To Add [...]
 int Copycard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] card to copy [TestOn] card to apply copy [TestOn] excludes name [boolean] excludes colors [ListExpression] excludes idcards [ListExpression]
 int Choice.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] message [Msg] allow cancel [boolean] hop on cancel [Expression] action index [1] action is in effects [boolean] nb choices [1] size of choice #1 [int] size of choice #n [int] actions of choice #1 [Action[]] hop action value= SIGMA(i={2..n}, nb actions of choice i) [Expression] actions of choice #2 [Action[]] hop action value= SIGMA(i={m..n}, nb actions of choice i) [Expression]
 int Attachlist.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] [super] [Action] test validating the attachment [...]
 int Attach.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1]
 int Assigndamagelist.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] super [Action] amount [Expression] type [Expression]
 int Assigndamage.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] [super] amount [Expression] type [Expression]
 int Addobject.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] object name + '\0' [...]
 int Addmodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] nb modifier [1] modifier i [...]
 int Addability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction [1] ability To Add [...]
 int Action.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
 int Abort.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] super [Action]
static void Msg.buildMdbMsg(Actiontype actionType, XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] action name [String] controller [TestOn] text to display [String]
 

Uses of XmlParser.Node in net.sf.magicproject.xml.event
 

Methods in net.sf.magicproject.xml.event with parameters of type XmlParser.Node
 int Updatetoughness.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Updatelife.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Targeted.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test to apply on source [...]
 int Movedcard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test to apply on source [...]
 int Modifiedregister.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] [super] test for source of modification[Test] test for modified component[Test] operation [Operation] register [Register] index [Expression] sup (if 'range' mode)[Expression]
 int Modifiedproperty.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Modifiedowner.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
 int Modifiedidcard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] [super] test [Test] idCard [Expression]
 int Modifiedcontroller.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Modifiedcolor.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] super [TriggeredEvent1] test [Test] color [Expression]
 int Losinggame.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Lethaldamage.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Givenmana.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] [super] test to apply on source [Test] test to apply on destination player [Test] looked for color [Expression]
 int Facedup.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Faceddown.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Endofphase.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Detached.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test on detached card [...]
 int Declaredblocking.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test to apply on blocking creature [...]
 int Declaredattacking.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test to apply on attacking creature [...]
 int Catchexception.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test to apply on source [...]
 int Casting.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Beginningofphase.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Beforephase.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Becomeuntapped.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Becometapped.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 int Attachedto.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test on the card is going to be attached to X [...]
 int Assigneddamage.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone[1] test [...]
 int Arrangedzone.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idEvent [1] idZone [1] test [...]
 

Uses of XmlParser.Node in net.sf.magicproject.xml.expression
 

Fields in net.sf.magicproject.xml.expression declared as XmlParser.Node
static XmlParser.Node Counter.macroCounterTest
          The macro-test is a test that can be defined from an action node using counter-test node.
 

Methods in net.sf.magicproject.xml.expression with parameters of type XmlParser.Node
 int Xor.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Toindex.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] operation id [1] expression [Expression]
 int Tocode.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] operation id [1] expression [Expression]
 int Targetlist.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idOperation :IdOperations.ID__TARGET_LIST [1] idOperation of int-list [1] list index : Expression [...]
 int Position.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' [...]
 int Or.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Mult.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Minus.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Min.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Method.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of InputStream : Data[size] methodName + '\0' [...]
 int Max.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Manapaid.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of InputStream : Data[size] idTestOn [1] color : Expression[...]
 int Lowestamong.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] operation id [1] restriction Zone id [1] test [...]
 int Intlist.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idOperation :IdOperations.ID__TARGET_LIST [1] idOperation of int-list [1] list index : Expression [...]
 int Int.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] IdTokens#ID__INT_VALUE [1] test on id [1] idToken [2]
 int Ifthenelse.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdOperations#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Highestamong.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] operation id [1] restriction Zone id [1] test [...]
 int Divtruncated.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Divrounded.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Deckcounter.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of InputStream : Data[size] test used to fill counter [Test]
 int Counter.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' [...]
 int Cardtypes.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of InputStream : Data[size] idTestOn [1]
 int Cardcolors.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of InputStream : Data[size] idTestOn [1]
 int Bitcount.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] operation id [1] int expression [...]
 int And.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Addhalftruncated.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Addhalfrounded.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 int Add.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] IdTokens#COMPLEX_EXPRESSION [2] operation id [1] depending on the expression [...]
 

Uses of XmlParser.Node in net.sf.magicproject.xml.modifier
 

Methods in net.sf.magicproject.xml.modifier with parameters of type XmlParser.Node
 int Staticmodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] filtering zone identifiant [Zone] source zone identifier [Zone] modifiers [ModifierModel[]]
 int Registermodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] index [Expression] right value [Expression] operation [Operation]
 int Registerindirection.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] index [Expression] right value [Expression] operation [Operation]
 int Propertymodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] addProperty [boolean] propertyId [Expression]
 int Playablezonemodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] hasNot tag [boolean] playable zone [Zone]
 int Object.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] object name [String]
 int Idcardmodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] operation [Operation] idCard [Expression]
 int Controllermodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] new controller [TestOn]
 int Colormodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] op [Operation] idColor [Expression]
 int Additionalcostmodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] additional cost [AdditionalCost]
 int Abilitymodifier.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of InputStream : Data[size] [super] operation [Operation] abilities [Ability[]] *
 

Uses of XmlParser.Node in net.sf.magicproject.xml.tbs
 

Fields in net.sf.magicproject.xml.tbs with type parameters of type XmlParser.Node
static java.util.Stack<java.util.List<XmlParser.Node>> Tbs.macroActions
          Available node for action of macro.
static java.util.Map<java.lang.String,XmlParser.Node> Tbs.referencedAbilities
          Available ability references of this TBS
static java.util.Map<java.lang.String,java.util.List<XmlParser.Node>> Tbs.referencedActions
          Available actions references of this TBS
static java.util.Map<java.lang.String,XmlParser.Node> Tbs.referencedAttachments
          Available attachments references of this TBS.
static java.util.Map<java.lang.String,XmlParser.Node> Tbs.referencedTest
          Available test references of this TBS
 

Methods in net.sf.magicproject.xml.tbs that return types with arguments of type XmlParser.Node
static java.util.List<XmlParser.Node> Tbs.peekMacroAction()
          Return the last given action to a macro.
 

Methods in net.sf.magicproject.xml.tbs with parameters of type XmlParser.Node
 int Triggeredability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] ability [Ability] event [Event] cost [Action[]] effect [Action[]]
 int Tbs.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Converts the given tbs XML node to its binary form writing in the given OutputStream.
 int Systemability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] ability [Ability] event [Event] cost [Action[]]
 int Replacementability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] ability type [1] name name + '\0' [...]
 int Card.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[]]
 int Activatedability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] ability [Ability] event [Event] cost [Action[]] effect [Action[]]
 int Ability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] ability type [1] name name [String] ability tags [int] event [Event] cost [Action[]] effect [Action[]]
static void Tbs.buildMdbPhaseType(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] phase name + '\0' [...]
static void Tbs.buildMdbTooltipFilter(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] display powerANDtoughness yes=1,no=0 [1] display states yes=1,no=0 [1] display types yes=1,no=0 [1] display colors yes=1,no=0 [1] display properties yes=1,no=0 [1] display damage yes=1,no=0 [1] filter [...]
 

Method parameters in net.sf.magicproject.xml.tbs with type arguments of type XmlParser.Node
static void Tbs.pushMacroAction(java.util.List<XmlParser.Node> node)
          Push an action (accepting null) for macro.
 

Uses of XmlParser.Node in net.sf.magicproject.xml.test
 

Methods in net.sf.magicproject.xml.test that return XmlParser.Node
static XmlParser.Node And.createAndNode(XmlParser.Node parent, XmlParser.Node left, XmlParser.Node right)
          Create and return a "And" node if both nodes are not null.
 

Methods in net.sf.magicproject.xml.test with parameters of type XmlParser.Node
 int XmlAnnoted.buildMdb(XmlParser.Node node, java.io.OutputStream out)
           
 int Validtargetattachment.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] test identifiant [1] tested on identifiant [1] depending on the test [...]
 int Validattachment.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] test identifiant [1] tested on identifiant [1] depending on the test [...]
 int Test.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] test identifiant [1] tested on identifiant [1] depending on the test [...]
 int Targetlist.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] idCard to test [2]
 int Replacetested.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] replace [TestOn] nested tested [Test]
 int Previouszone.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] idZone to test [2]
 int Position.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] position to test [Expression]
 int Playableability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] playable idCard [Expression]
 int Phaseis.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] tested on (idTestedOn) [1] phase filter [1] phase index/id : Expression [...]
 int Owner.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] on [TestOn] other [Expression]
 int Or.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] first test [...]
 int Null.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] 0 [1]
 int Not.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] test [...]
 int Isthis.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] idTestOn [1]
 int Isaborting.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] card TestOn [1] by TestOn [1]
 int Is.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] idTestOn [1]
 int Inzone.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] idZone to test [2]
 int Inidcard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] idCard to test [2]
 int Hasproperty.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] used targetable for test [1] expression of Property to test [...]
 int Hasprivateobject.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] used targetable for test [1] named targetable + '\0' : String [...]
 int Hasname.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] card name + '\0' [...]
 int Haskeyword.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] card name + '\0' [...]
 int Hasidcard.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] idCard to test [2]
 int Hascolor.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] idColor to test [2]
 int Hasaction.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] ability name [...]
 int Hasability.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] ability name [...]
 int Has.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] test used to fill counter [...]
 int Deckcounter.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of InputStream : Data[size] test used to fill counter [Test] threshold [Expression]
 int Database.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] property name [String] property value [String]
 int Controller.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] on [TestOn] other [Expression]
 int And.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] first test [...]
 int Actionsource.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] action name + '\0' [...]
 int Abilitysource.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] ability name + '\0' [...]
 int Abilityis.buildMdb(XmlParser.Node node, java.io.OutputStream out)
          Write the contained test of the specified node
Structure of stream : Data[size] idTest [1] ability name + '\0' [...]
static XmlParser.Node And.createAndNode(XmlParser.Node parent, XmlParser.Node left, XmlParser.Node right)
          Create and return a "And" node if both nodes are not null.
 



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