|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.database.propertyconfig.PropertyConfig
public abstract class PropertyConfig
Abstract class that holds information about a property name and its
translation in the selected language in the LanguageManager
class.
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of this property. |
java.lang.String |
getTranslatedName()
Returns the translated property name. |
int |
hashCode()
|
TranslatableData |
parseProperty(java.lang.String cardName,
java.lang.String stream,
Proxy proxy)
Parse the given stream to build the associated TranslatableData object to the specified card name. |
TranslatableData |
parseProperty(java.lang.String cardName,
XmlParser.Node node)
Parse the given stream to build the associated TranslatableData object to the specified card name. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getTranslatedName()
public java.lang.String getName()
public final int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public TranslatableData parseProperty(java.lang.String cardName,
XmlParser.Node node)
cardName - the card name.node - the node containing the data used to build the
TranslatableData object.
TranslatableData object built from the given node.
public TranslatableData parseProperty(java.lang.String cardName,
java.lang.String stream,
Proxy proxy)
cardName - the card name.stream - the stream containing the data used to build the
TranslatableData object.proxy - is the proxy this data come from. Is used to translate from
private-proxy to public-tbs value.
TranslatableData object built from the given stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||