|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.util.xml.AbstractObjectHandler
org.progeeks.util.xml.BeanObjectHandler
org.progeeks.util.xml.ActionObjectHandler
public class ActionObjectHandler
ObjectHandler implementation that can set values on Action objects. This handler will only attempt to handle objects that implement the Action interface.
| Field Summary |
|---|
| Fields inherited from class org.progeeks.util.xml.BeanObjectHandler |
|---|
CONFIG_IMPORT_PACKAGE |
| Constructor Summary | |
|---|---|
ActionObjectHandler()
|
|
| Method Summary | |
|---|---|
boolean |
canHandle(java.lang.String tag)
Returns true if this handler applies to the specified object tag. |
java.lang.Object |
createObject(java.lang.String tag,
org.xml.sax.Attributes atts,
ObjectXmlReader reader)
Creates and returns an object based on the specified parameters. |
java.lang.Class |
getPropertyClass(java.lang.Object obj,
java.lang.String field,
ObjectXmlReader reader)
Returns the base type for the specified field. |
java.util.Collection |
getPropertyCollection(java.lang.Object obj,
java.lang.String field,
ObjectXmlReader reader)
Returns the a collection for the specified field that can be used to accumulate multiple object values. |
protected void |
setActionProperty(javax.swing.Action a,
java.lang.String field,
java.lang.Object value)
|
void |
setProperty(java.lang.Object obj,
java.lang.String field,
java.lang.Object value,
ObjectXmlReader reader)
Sets a property on the specified object. |
void |
setTextProperty(java.lang.Object obj,
java.lang.String field,
java.lang.String value,
ObjectXmlReader reader)
Sets a text-value property on the specified object. |
| Methods inherited from class org.progeeks.util.xml.BeanObjectHandler |
|---|
getClass, getClass, getConstant, getInnerClass, getPackages, getProperty, getTagClass, ignoreAttribute, importPackage, setConfigurationProperty, setObjectProperties, setPackages |
| Methods inherited from class org.progeeks.util.xml.AbstractObjectHandler |
|---|
resolveObject, setContainedText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionObjectHandler()
| Method Detail |
|---|
public boolean canHandle(java.lang.String tag)
canHandle in interface ObjectHandlercanHandle in class BeanObjectHandler
protected void setActionProperty(javax.swing.Action a,
java.lang.String field,
java.lang.Object value)
public void setProperty(java.lang.Object obj,
java.lang.String field,
java.lang.Object value,
ObjectXmlReader reader)
setProperty in interface ObjectHandlersetProperty in class BeanObjectHandler
public void setTextProperty(java.lang.Object obj,
java.lang.String field,
java.lang.String value,
ObjectXmlReader reader)
setTextProperty in interface ObjectHandlersetTextProperty in class BeanObjectHandler
public java.lang.Class getPropertyClass(java.lang.Object obj,
java.lang.String field,
ObjectXmlReader reader)
getPropertyClass in interface ObjectHandlergetPropertyClass in class BeanObjectHandler
public java.util.Collection getPropertyCollection(java.lang.Object obj,
java.lang.String field,
ObjectXmlReader reader)
getPropertyCollection in interface ObjectHandlergetPropertyCollection in class BeanObjectHandler
public java.lang.Object createObject(java.lang.String tag,
org.xml.sax.Attributes atts,
ObjectXmlReader reader)
createObject in interface ObjectHandlercreateObject in class BeanObjectHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||