Package org.openxava.mapping
Class Converters
- java.lang.Object
-
- org.openxava.mapping.Converters
-
public class Converters extends java.lang.Object
Utility class for access to default converter for a property.- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description Converters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
_addForStereotype(java.lang.String name, java.lang.String converterClass, java.lang.String cmpType)
static void
_addForType(java.lang.String typeName, java.lang.String converterClass, java.lang.String cmpType)
static java.lang.String
getCmpTypeFor(MetaProperty p)
static java.lang.String
getConverterClassNameFor(MetaProperty p)
-
-
-
Method Detail
-
_addForStereotype
public static void _addForStereotype(java.lang.String name, java.lang.String converterClass, java.lang.String cmpType) throws XavaException
- Throws:
XavaException
-
_addForType
public static void _addForType(java.lang.String typeName, java.lang.String converterClass, java.lang.String cmpType) throws XavaException
- Throws:
XavaException
-
getConverterClassNameFor
public static java.lang.String getConverterClassNameFor(MetaProperty p) throws XavaException
- Returns:
- null if argument has no default converter associated.
- Throws:
XavaException
-
getCmpTypeFor
public static java.lang.String getCmpTypeFor(MetaProperty p) throws XavaException
- Returns:
- null if argument has no default converter associated.
- Throws:
XavaException
-
-