com.eviware.soapui.model.propertyexpansion
Class PropertyExpansionUtils

java.lang.Object
  extended by com.eviware.soapui.model.propertyexpansion.PropertyExpansionUtils

public class PropertyExpansionUtils
extends java.lang.Object


Field Summary
static org.apache.log4j.Logger log
           
 
Constructor Summary
PropertyExpansionUtils()
           
 
Method Summary
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 MutablePropertyExpansionImpl createMutablePropertyExpansion(java.lang.String pe, ModelItem modelItem, java.lang.Object target, java.lang.String propertyName)
           
static java.lang.String expandProperties(ModelItem modelItem, java.lang.String content)
           
static java.lang.String expandProperties(PropertyExpansionContext context, java.lang.String content)
           
static java.util.Collection<? extends PropertyExpansion> extractPropertyExpansions(ModelItem modelItem, java.lang.Object target, java.lang.String propertyName)
           
static MutableTestPropertyHolder getGlobalProperties()
           
static java.lang.String getGlobalProperty(java.lang.String propertyName)
           
static PropertyExpansion[] getPropertyExpansions(ModelItem modelItem, boolean mutableOnly, boolean deep)
           
static MutablePropertyExpansion[] renameProperty(MutableTestPropertyHolder holder, TestProperty property, java.lang.String newName, ModelItem root)
           
static void saveGlobalProperties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Logger log
Constructor Detail

PropertyExpansionUtils

public PropertyExpansionUtils()
Method Detail

getGlobalProperty

public static java.lang.String getGlobalProperty(java.lang.String propertyName)

saveGlobalProperties

public static void saveGlobalProperties()

expandProperties

public static java.lang.String expandProperties(PropertyExpansionContext context,
                                                java.lang.String content)

canTransferToProperty

public static boolean canTransferToProperty(TestProperty source,
                                            TestProperty target)
Checks if a property can be transferred to another specified property via a property-transfer


canExpandProperty

public static boolean canExpandProperty(ModelItem contextModelItem,
                                        TestProperty property)
Checks if a modelItem can acces a specified property via property-expansion


getGlobalProperties

public static MutableTestPropertyHolder getGlobalProperties()

renameProperty

public static MutablePropertyExpansion[] renameProperty(MutableTestPropertyHolder holder,
                                                        TestProperty property,
                                                        java.lang.String newName,
                                                        ModelItem root)

getPropertyExpansions

public static PropertyExpansion[] getPropertyExpansions(ModelItem modelItem,
                                                        boolean mutableOnly,
                                                        boolean deep)

extractPropertyExpansions

public static java.util.Collection<? extends PropertyExpansion> extractPropertyExpansions(ModelItem modelItem,
                                                                                          java.lang.Object target,
                                                                                          java.lang.String propertyName)

createMutablePropertyExpansion

public static MutablePropertyExpansionImpl createMutablePropertyExpansion(java.lang.String pe,
                                                                          ModelItem modelItem,
                                                                          java.lang.Object target,
                                                                          java.lang.String propertyName)

expandProperties

public static java.lang.String expandProperties(ModelItem modelItem,
                                                java.lang.String content)


Copyright © 2005-2008 eviware.com. All Rights Reserved.