|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.xml.XmlConfiguration
public class XmlConfiguration
Field Summary | |
---|---|
static int |
error
Found errors |
static java.util.List<PairStringInt> |
exportedDamageTypes
Exported damage types |
static java.util.List<PairStringInt> |
exportedPhases
Exported phases |
static java.util.List<PairStringInt> |
exportedProperties
Exported properties |
static java.util.List<PairStringInt> |
exportedTypes
Exported types |
static boolean |
noPayMana
Indicates that the next 'paymana' actions would be played the parameter 'colorless="0"' |
static java.util.Map<java.lang.Integer,java.lang.String> |
propertyPictures
Exported properties |
static int |
uncompleted
Found uncompleted cards |
static boolean |
validationOn
Is schema validation is activated. |
static int |
warning
Found warnings |
Constructor Summary | |
---|---|
XmlConfiguration(java.io.InputStream configuration)
Constructor. |
Method Summary | |
---|---|
static boolean |
isDebugEnable()
Indicates the debug data are saved in the mdb. |
static void |
main(java.lang.String... args)
2 modes: Update the a MDB for specified TBS against the XML files (main file, cards and fragments). |
void |
newInstance(java.lang.String xmlFile,
java.lang.String workingDir,
java.io.OutputStream output)
Create a new object and configure it. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean validationOn
public static java.util.List<PairStringInt> exportedProperties
public static java.util.Map<java.lang.Integer,java.lang.String> propertyPictures
public static java.util.List<PairStringInt> exportedTypes
public static java.util.List<PairStringInt> exportedPhases
public static java.util.List<PairStringInt> exportedDamageTypes
public static boolean noPayMana
public static int error
public static int warning
public static int uncompleted
Constructor Detail |
---|
public XmlConfiguration(java.io.InputStream configuration) throws org.xml.sax.SAXException, java.io.IOException
configuration
- An input stream containing a complete e.g. configuration file
org.xml.sax.SAXException
- parsing error.
java.io.IOException
- writing error.Method Detail |
---|
public void newInstance(java.lang.String xmlFile, java.lang.String workingDir, java.io.OutputStream output)
xmlFile
- the xml source file.workingDir
- the working dir.output
- the output strem of mdb file.public static void main(java.lang.String... args)
args
- main arguments.public static boolean isDebugEnable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |