annotate dtds/army.dtd @ 11:5a1df00b0359

Re #9 - Make WarFoundry API load files in small methods * Add "add unit type" and "add equipment" methods to Race * Deprecate old "set unit types" and "set equipment" methods on Race * Update WarFoundryXmlFactory to use new methods * Create DuplicateItemException for later use
author IBBoard <dev@ibboard.co.uk>
date Sun, 18 Jan 2009 16:24:03 +0000
parents 163b35f875ef
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <!ELEMENT army (units,customEquipment)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 <!ELEMENT units (unit*)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 <!ELEMENT unit (equipment?)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 <!ELEMENT equipment (equipItem*)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 <!ELEMENT equipItem EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 <!ELEMENT customEquipment (customEquipment*)>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 <!ELEMENT customEquip EMPTY>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 <!ATTLIST army id CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 <!ATTLIST army name CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 <!ATTLIST army system CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 <!ATTLIST army race CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 <!ATTLIST army maxPoints CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 <!ATTLIST unit id CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 <!ATTLIST unit unitType CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <!ATTLIST unit unitName CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <!ATTLIST unit race CDATA "">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <!ATTLIST unit size CDATA "">
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 <!ATTLIST equipItem id CDATA #REQUIRED>
163b35f875ef Re #7 - Add DTDs to API project because they're API related rather than GUI related
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 <!ATTLIST equipItem amount CDATA #REQUIRED>