public class MEnvSpaceType extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MEnvSpaceType.ClassConverter
Parse class names.
|
Modifier and Type | Field and Description |
---|---|
static String |
OBJECTPLACEMENT_BORDER
The border object placement.
|
static String |
OBJECTPLACEMENT_CENTER
The center object placement.
|
Constructor and Description |
---|
MEnvSpaceType() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
Object value)
Add a property.
|
static Map |
convertProperties(List properties,
IValueFetcher fetcher)
Set properties on a map.
|
String |
getClassName()
Get the classname.
|
String |
getName()
Get the name.
|
Map |
getProperties()
Get the properties.
|
static Object |
getProperty(Map map,
String name)
Get a property from a (multi)map.
|
Object |
getProperty(String name)
Get a property from a (multi)map.
|
List |
getPropertyList(String key)
Get a property.
|
static Set |
getXMLMapping()
Get the XML mapping.
|
void |
setClassName(String classname)
Set the classname.
|
void |
setName(String name) |
static void |
setProperties(IPropertyObject object,
List properties,
IValueFetcher fetcher)
Set properties on a IPropertyObject.
|
public static final String OBJECTPLACEMENT_BORDER
public static final String OBJECTPLACEMENT_CENTER
public String getName()
public void setName(String name)
name
- The name to set.public String getClassName()
public void setClassName(String classname)
classname
- The classname to set.public void addProperty(String key, Object value)
key
- The key.value
- The value.public List getPropertyList(String key)
key
- The key.public Map getProperties()
public Object getProperty(String name)
map
- The map.name
- The name.public static Set getXMLMapping()
public static void setProperties(IPropertyObject object, List properties, IValueFetcher fetcher)
object
- The IPropertyObject.properties
- A list properties (containing maps with "name", "value" keys).fetcher
- The fetcher for parsing the Java expression (can provide
predefined values to the expression)public static Map convertProperties(List properties, IValueFetcher fetcher)
properties
- A list properties (containing maps with "name", "value" keys).fetcher
- The fetcher for parsing the Java expression (can provide
predefined values to the expression)Copyright © 2013. All Rights Reserved.