Class SimpleTypeMapper
java.lang.Object
org.apache.axis2.databinding.typemapping.SimpleTypeMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayListgetArrayList(org.apache.axiom.om.OMElement element) static ArrayListgetArrayList(org.apache.axiom.om.OMElement element, String localName) static jakarta.activation.DataHandlergetDataHandler(org.apache.axiom.om.OMElement element) static jakarta.activation.DataHandlergetDataHandler(org.apache.axiom.om.OMElement element, boolean hexBin) Gets the DataHandler according to hexBin value.static HashSetgetHashSet(org.apache.axiom.om.OMElement element, String localName) static ObjectgetSimpleTypeObject(Class parameter, String text) static ObjectgetSimpleTypeObject(Class parameter, org.apache.axiom.om.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 booleanstatic booleanstatic booleanChecks weather passed parameter class is a java.util.Mapstatic booleanChecks 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 Object
-
Constructor Details
-
SimpleTypeMapper
public SimpleTypeMapper()
-
-
Method Details
-
getSimpleTypeObject
-
getSimpleTypeObject
-
getArrayList
-
getHashSet
-
getDataHandler
public static jakarta.activation.DataHandler getDataHandler(org.apache.axiom.om.OMElement element) -
getDataHandler
public static jakarta.activation.DataHandler getDataHandler(org.apache.axiom.om.OMElement element, boolean hexBin) Gets the DataHandler according to hexBin value.- Parameters:
element- the elementhexBin- the hex bin- Returns:
- the DataHandler object
-
getArrayList
-
isSimpleType
-
isSimpleType
-
isDataHandler
-
isHashSet
-
isCollection
-
isSimpleType
-
getStringValue
-
makeCalendar
-
makeDate
-
isObjectArray
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
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
Checks that given classType is a W3C Document.- Parameters:
classType- the class type- Returns:
- true, if is dom document
-
isMap
Checks weather passed parameter class is a java.util.Map- Parameters:
classType- the class type- Returns:
- true, if it is a map
-
isMultidimensionalObjectArray
Checks weather passed parameter class is a multidimensional object array.- Parameters:
type- the type- Returns:
- true, if is multidimensional object array
-
isEnum
-