net.sf.magicproject.database.propertyconfig
Class PropertyProxyConfig
java.lang.Object
net.sf.magicproject.database.propertyconfig.PropertyConfig
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. |
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 java.lang.Object |
equals, getClass, notify, notifyAll, wait, wait, wait |
values
public static java.util.Map<java.lang.String,Expression> values
- Available values of this property.
PropertyProxyConfig
public PropertyProxyConfig(XmlParser.Node node)
- Create a new instance of this class.
- Parameters:
node
- the node containing definition of value.
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.