org.kuali.kfs.sys.web
Class WebUtilities
java.lang.Object
org.kuali.kfs.sys.web.WebUtilities
public class WebUtilities
- extends Object
A utility class which holds functions that can be used as JSP functions.
Method Summary |
static boolean |
matchesPattern(String value,
String pattern)
Determines if the given value matches the given pattern |
static String |
renamePropertyForMaintenanceFramework(String propertyName)
Converts a property name so that it is correct for the purposes of populating a business object
in the maintenance framework - basically by changing "document.oldMaintainableObject.businessObject" to
"document.oldMaintainableObject" and doing a similar operation for "document.newMaintainableObject.businessObject" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebUtilities
public WebUtilities()
renamePropertyForMaintenanceFramework
public static String renamePropertyForMaintenanceFramework(String propertyName)
- Converts a property name so that it is correct for the purposes of populating a business object
in the maintenance framework - basically by changing "document.oldMaintainableObject.businessObject" to
"document.oldMaintainableObject" and doing a similar operation for "document.newMaintainableObject.businessObject"
- Parameters:
propertyName
- the property name to fix
- Returns:
- the corrected version of the property name
matchesPattern
public static boolean matchesPattern(String value,
String pattern)
- Determines if the given value matches the given pattern
- Parameters:
value
- the value which is matching the patternpattern
- the Java regular expression pattern to match against
- Returns:
- true if the value matches; false otherwise
- See Also:
Pattern
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.