|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.codegen.digester.XRule
de.uni_paderborn.fujaba.codegen.digester.rules.XSetPropertiesRule
Rule implementation that sets properties on the object at the top of the stack, based on attributes with corresponding names.
| Field Summary |
| Fields inherited from class de.uni_paderborn.fujaba.codegen.digester.XRule |
digester |
| Constructor Summary | |
XSetPropertiesRule(XDigester digester)
Default constructor sets only the the associated Digester. |
|
| Method Summary | |
void |
begin(org.xml.sax.Attributes attributes)
Process the beginning of this element. |
protected static java.beans.PropertyEditor |
getEditor(java.beans.PropertyDescriptor descriptor)
Get the editor attribute of the XSetPropertiesRule class |
protected static java.util.Map |
getProperties(java.lang.Object target)
Get the properties attribute of the XSetPropertiesRule class |
protected static void |
populate(java.lang.Object target,
java.util.Map values)
No comment provided by developer, please add a comment to improve documentation. |
protected static void |
setValue(java.lang.Object target,
java.lang.String valueStr,
java.beans.PropertyDescriptor descriptor)
Sets the value attribute of the XSetPropertiesRule class |
| Methods inherited from class de.uni_paderborn.fujaba.codegen.digester.XRule |
body, end, finish |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XSetPropertiesRule(XDigester digester)
digester - The digester with which this rule is associated| Method Detail |
public void begin(org.xml.sax.Attributes attributes)
throws java.lang.Exception
begin in class XRuleattributes - The attribute list of this element
java.lang.Exception - Exception description not provided
protected static void populate(java.lang.Object target,
java.util.Map values)
target - No description providedvalues - No description provided
protected static void setValue(java.lang.Object target,
java.lang.String valueStr,
java.beans.PropertyDescriptor descriptor)
target - The new value valuevalueStr - The new value valuedescriptor - The new value valueprotected static java.beans.PropertyEditor getEditor(java.beans.PropertyDescriptor descriptor)
descriptor - No description provided
protected static java.util.Map getProperties(java.lang.Object target)
target - No description provided
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||