public class PropertyUtil extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
PropertyUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
attach(NestingType nestingType,
Object component,
Object subComponent,
String name) |
static Object |
convertByValueMethod(Object component,
String name,
String value) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
static boolean |
hasAdderMethod(Object obj,
String name) |
Object |
invokeMethod(String method,
Object arguments) |
static NestingType |
nestingType(Object obj,
String name,
Object value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
static String |
transformFirstLetter(String s,
groovy.lang.Closure closure) |
static String |
upperCaseFirstLetter(String s) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public static NestingType nestingType(Object obj, String name, Object value)
public static Object convertByValueMethod(Object component, String name, String value)
public static void attach(NestingType nestingType, Object component, Object subComponent, String name)
public static String transformFirstLetter(String s, groovy.lang.Closure closure)
Copyright © 2005–2021 QOS.ch. All rights reserved.