net.sf.magicproject.database.propertyconfig
Class PropertyProxyConfig

java.lang.Object
  extended by net.sf.magicproject.database.propertyconfig.PropertyConfig
      extended by net.sf.magicproject.database.propertyconfig.PropertyProxyConfig

public class PropertyProxyConfig
extends PropertyConfig

Since:
0.90
Author:
Fabrice Daugan

Field Summary
static java.util.Map<java.lang.String,Expression> values
          Available values of this property.
 
Constructor Summary
PropertyProxyConfig(XmlParser.Node node)
          Create a new instance of this class.
 
Method Summary
 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.
 
Methods inherited from class net.sf.magicproject.database.propertyconfig.PropertyConfig
getName, getTranslatedName, hashCode, parseProperty, toString
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

values

public static java.util.Map<java.lang.String,Expression> values
Available values of this property.

Constructor Detail

PropertyProxyConfig

public PropertyProxyConfig(XmlParser.Node node)
Create a new instance of this class.

Parameters:
node - the node containing definition of value.
Method Detail

parseProperty

public final TranslatableData parseProperty(java.lang.String cardName,
                                            java.lang.String stream,
                                            Proxy proxy)
Description copied from class: PropertyConfig
Parse the given stream to build the associated TranslatableData object to the specified card name.

Overrides:
parseProperty in class PropertyConfig
Parameters:
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.
Returns:
the TranslatableData object built from the given stream.


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