public class PropertyExpansionUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyExpansionUtils.GlobalPropertyExpansionContext |
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
PropertyExpansionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canExpandProperty(ModelItem contextModelItem,
TestProperty property)
Checks if a modelItem can acces a specified property via
property-expansion
|
static boolean |
canTransferToProperty(TestProperty source,
TestProperty target)
Checks if a property can be transferred to another specified property via
a property-transfer
|
static boolean |
containsPropertyExpansion(String str) |
static MutablePropertyExpansionImpl |
createMutablePropertyExpansion(String pe,
ModelItem modelItem,
Object target,
String propertyName) |
static String |
expandProperties(ModelItem contextModelItem,
String content)
Deprecated.
|
static String |
expandProperties(PropertyExpansionContext context,
String content)
Deprecated.
|
static String |
expandProperties(PropertyExpansionContext context,
String content,
boolean entitize)
Deprecated.
|
static String |
expandProperties(String content)
Deprecated.
Use
PropertyExpander.expandProperties(String) instead |
static Collection<? extends PropertyExpansion> |
extractPropertyExpansions(ModelItem modelItem,
Object target,
String propertyName) |
static MutableTestPropertyHolder |
getGlobalProperties() |
static String |
getGlobalProperty(String propertyName) |
static PropertyExpansion[] |
getPropertyExpansions(ModelItem modelItem,
boolean mutableOnly,
boolean deep) |
static MutablePropertyExpansion[] |
renameProperty(RenameableTestProperty property,
String newName,
ModelItem root) |
static void |
saveGlobalProperties() |
static String |
shortenXPathForPropertyExpansion(String xpath,
String value) |
public static void saveGlobalProperties()
public static String shortenXPathForPropertyExpansion(String xpath, String value)
public static String expandProperties(String content)
PropertyExpander.expandProperties(String) insteadpublic static String expandProperties(PropertyExpansionContext context, String content)
PropertyExpander.expandProperties(PropertyExpansionContext,String)
insteadpublic static String expandProperties(PropertyExpansionContext context, String content, boolean entitize)
PropertyExpander.expandProperties(PropertyExpansionContext,String,boolean)
insteadpublic static boolean canTransferToProperty(TestProperty source, TestProperty target)
public static boolean canExpandProperty(ModelItem contextModelItem, TestProperty property)
public static MutableTestPropertyHolder getGlobalProperties()
public static MutablePropertyExpansion[] renameProperty(RenameableTestProperty property, String newName, ModelItem root)
public static PropertyExpansion[] getPropertyExpansions(ModelItem modelItem, boolean mutableOnly, boolean deep)
public static Collection<? extends PropertyExpansion> extractPropertyExpansions(ModelItem modelItem, Object target, String propertyName)
public static MutablePropertyExpansionImpl createMutablePropertyExpansion(String pe, ModelItem modelItem, Object target, String propertyName)
public static String expandProperties(ModelItem contextModelItem, String content)
PropertyExpander.expandProperties(ModelItem,String)
insteadpublic static boolean containsPropertyExpansion(String str)
Copyright © 2013. All Rights Reserved.