com.virtualweaver.xotics.datamodel.editor
Class XoXmlWSPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
com.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor
com.virtualweaver.xotics.datamodel.editor.XoEnumPropertyEditor
com.virtualweaver.xotics.datamodel.editor.XoXmlWSPropertyEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor, XoPropertyEditor
- public class XoXmlWSPropertyEditor
- extends XoEnumPropertyEditor
Method Summary |
protected java.lang.Object |
createValue(java.lang.String str)
Creates an instance of value object by converting string param str. |
protected java.lang.String |
getAsString(java.lang.Object v)
|
protected java.lang.Object[] |
getEnumSpace()
|
protected boolean |
isPartEnum()
|
void |
setProperty(XoProperty p)
Sets the property possibly using this editor. |
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getTags, paintValue, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.beans.PropertyEditor |
addPropertyChangeListener, getJavaInitializationString, getTags, paintValue, removePropertyChangeListener |
XoXmlWSPropertyEditor
public XoXmlWSPropertyEditor()
getEnumSpace
protected java.lang.Object[] getEnumSpace()
- Overrides:
getEnumSpace
in class XoEnumPropertyEditor
isPartEnum
protected boolean isPartEnum()
- Overrides:
isPartEnum
in class XoEnumPropertyEditor
createValue
protected java.lang.Object createValue(java.lang.String str)
throws java.lang.IllegalArgumentException
- Description copied from class:
XoAbstractPropertyEditor
- Creates an instance of value object by converting string param str.
- Overrides:
createValue
in class XoEnumPropertyEditor
- Throws:
java.lang.IllegalArgumentException
getAsString
protected java.lang.String getAsString(java.lang.Object v)
- Overrides:
getAsString
in class XoEnumPropertyEditor
setProperty
public void setProperty(XoProperty p)
- Description copied from class:
XoAbstractPropertyEditor
- Sets the property possibly using this editor. This method is not mandatory, but could
be used to obtain some useful data or tools to edit value, such as property class,
owner object, and then DM instance and through it other functionalities.
- Specified by:
setProperty
in interface XoPropertyEditor
- Overrides:
setProperty
in class XoEnumPropertyEditor