|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.xml.XmlDeckTranslator
public class XmlDeckTranslator
Constructor Summary | |
---|---|
XmlDeckTranslator(java.lang.String tbsName)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
convert(java.lang.String cardName)
Return the translated card name of specified original card name. |
java.lang.String |
replace(XmlParser.Node node,
java.lang.String cardName)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlDeckTranslator(java.lang.String tbsName) throws org.xml.sax.SAXException, java.io.IOException
tbsName
- An input stream containing a complete e.g. configuration file
org.xml.sax.SAXException
java.io.IOException
Method Detail |
---|
public java.lang.String convert(java.lang.String cardName)
cardName
- the name to translate.
public java.lang.String replace(XmlParser.Node node, java.lang.String cardName)
node
- the node containing the replacement expressions.cardName
- the unconverted card name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |