|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.abra.j2xb.beans.propertyEditors.MONumberPropertyEditor
public abstract class MONumberPropertyEditor
| Constructor Summary | |
|---|---|
MONumberPropertyEditor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
fromXmlValue(MOPropertySimpleTypeDescriptor simpleTypeDescriptor,
XmlValue value)
decodes the property value from the value used to store in XML. |
java.lang.String[] |
getEnumerations(java.lang.Class<?> propertyValueType)
|
protected abstract java.lang.String |
getNumberTypeName()
|
boolean |
supportsNumberValidations()
indicates that the type supports the MOValidationNumber for Number validations |
boolean |
supportsStringValidations()
indicates that the type supports the MOValidationString for string validations |
XmlValue |
toXmlValue(MOPropertySimpleTypeDescriptor simpleTypeDescriptor,
java.lang.Object value)
encodes the value to XML representation |
MOValueValidationResult |
validateStringEncoding(java.lang.Class propertyValueType,
java.lang.String value)
validates the string encoding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.abra.j2xb.beans.propertyEditors.MOPropertyEditor |
|---|
compareValues, fromString, getXmlDefaultSimpleType, isCompatibleSimpleType, toString |
| Constructor Detail |
|---|
public MONumberPropertyEditor()
| Method Detail |
|---|
public java.lang.Object fromXmlValue(MOPropertySimpleTypeDescriptor simpleTypeDescriptor,
XmlValue value)
MOPropertyEditor
fromXmlValue in interface MOPropertyEditorsimpleTypeDescriptor - descriptor for simple type instancevalue - - the value to decode
public XmlValue toXmlValue(MOPropertySimpleTypeDescriptor simpleTypeDescriptor,
java.lang.Object value)
MOPropertyEditor
toXmlValue in interface MOPropertyEditorsimpleTypeDescriptor - descriptor for simple type instancevalue - - the value to encode
public java.lang.String[] getEnumerations(java.lang.Class<?> propertyValueType)
getEnumerations in interface MOPropertyEditorpropertyValueType - the enumeration class
public MOValueValidationResult validateStringEncoding(java.lang.Class propertyValueType,
java.lang.String value)
MOPropertyEditor
validateStringEncoding in interface MOPropertyEditorpropertyValueType - the class of the propery valuevalue - - string encoding to validate
protected abstract java.lang.String getNumberTypeName()
public boolean supportsStringValidations()
MOPropertyEditor
supportsStringValidations in interface MOPropertyEditorpublic boolean supportsNumberValidations()
MOPropertyEditor
supportsNumberValidations in interface MOPropertyEditor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||