Class SimpleTypeMapper
- java.lang.Object
-
- org.apache.axis2.databinding.typemapping.SimpleTypeMapper
-
public class SimpleTypeMapper extends Object
-
-
Constructor Summary
Constructors Constructor Description SimpleTypeMapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArrayListgetArrayList(OMElement element)static ArrayListgetArrayList(OMElement element, String localName)static DataHandlergetDataHandler(OMElement element)static DataHandlergetDataHandler(OMElement element, boolean hexBin)Gets the DataHandler according to hexBin value.static HashSetgetHashSet(OMElement element, String localName)static ObjectgetSimpleTypeObject(Class parameter, String text)static ObjectgetSimpleTypeObject(Class parameter, OMElement value)static StringgetStringValue(Object obj)static booleanisCollection(Class obj)static booleanisDataHandler(Class obj)static booleanisDomDocument(Class classType)Checks that given classType is a W3C Document.static booleanisEnum(Class classType)static booleanisHashSet(Class obj)static booleanisMap(Class classType)Checks weather passed parameter class is a java.util.Mapstatic booleanisMultidimensionalObjectArray(Class type)Checks weather passed parameter class is a multidimensional object array.static booleanisObjectArray(Class obj)Checks weather passed parameter class is java.lang.Object[] or not.static booleanisObjectType(Class obj)Checks weather passed parameter class is java.lang.Object or not.static booleanisSimpleType(Class obj)static booleanisSimpleType(Object obj)static booleanisSimpleType(String objClassName)static ObjectmakeCalendar(String source)static ObjectmakeDate(String source)
-
-
-
Method Detail
-
getDataHandler
public static DataHandler getDataHandler(OMElement element)
-
getDataHandler
public static DataHandler getDataHandler(OMElement element, boolean hexBin)
Gets the DataHandler according to hexBin value.- Parameters:
element- the elementhexBin- the hex bin- Returns:
- the DataHandler object
-
isSimpleType
public static boolean isSimpleType(Object obj)
-
isSimpleType
public static boolean isSimpleType(Class obj)
-
isDataHandler
public static boolean isDataHandler(Class obj)
-
isHashSet
public static boolean isHashSet(Class obj)
-
isCollection
public static boolean isCollection(Class obj)
-
isSimpleType
public static boolean isSimpleType(String objClassName)
-
isObjectArray
public static boolean isObjectArray(Class obj)
Checks weather passed parameter class is java.lang.Object[] or not.- Parameters:
obj- the Class type of particular object.- Returns:
- true, if is object array
-
isObjectType
public static boolean isObjectType(Class obj)
Checks weather passed parameter class is java.lang.Object or not.- Parameters:
obj- the Class type of particular object.- Returns:
- true, if is object type
-
isDomDocument
public static boolean isDomDocument(Class classType)
Checks that given classType is a W3C Document.- Parameters:
classType- the class type- Returns:
- true, if is dom document
-
isMap
public static boolean isMap(Class classType)
Checks weather passed parameter class is a java.util.Map- Parameters:
classType- the class type- Returns:
- true, if it is a map
-
isMultidimensionalObjectArray
public static boolean isMultidimensionalObjectArray(Class type)
Checks weather passed parameter class is a multidimensional object array.- Parameters:
type- the type- Returns:
- true, if is multidimensional object array
-
isEnum
public static boolean isEnum(Class classType)
-
-