public class PropertyHelper extends Object
| Constructor and Description |
|---|
PropertyHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isStaticProperty(org.apache.axiom.om.OMElement property)
This method will check the given OMElement represent either a static property or not
|
static void |
setInstanceProperty(String name,
Object val,
Object obj)
Find and invoke the setter method with the name of form setXXX passing in the value given
on the POJO object
|
static void |
setStaticProperty(org.apache.axiom.om.OMElement property,
Object o)
This method will set the static property discribed in the OMElement to the specified object.
|
public static void setInstanceProperty(String name, Object val, Object obj)
name - name of the setter fieldval - value to be setobj - POJO instancepublic static void setStaticProperty(org.apache.axiom.om.OMElement property,
Object o)
property - - OMElement specifying the property to be built in to the objecto - - Object to which the specified property will be set.public static boolean isStaticProperty(org.apache.axiom.om.OMElement property)
property - - OMElement to be checked for the static propertyCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.