Class SimpleTypeMapper

java.lang.Object
org.apache.axis2.databinding.typemapping.SimpleTypeMapper

public class SimpleTypeMapper extends Object
  • Constructor Details

    • SimpleTypeMapper

      public SimpleTypeMapper()
  • Method Details

    • getSimpleTypeObject

      public static Object getSimpleTypeObject(Class parameter, String text)
    • getSimpleTypeObject

      public static Object getSimpleTypeObject(Class parameter, org.apache.axiom.om.OMElement value)
    • getArrayList

      public static ArrayList getArrayList(org.apache.axiom.om.OMElement element, String localName)
    • getHashSet

      public static HashSet getHashSet(org.apache.axiom.om.OMElement element, String localName)
    • 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 element
      hexBin - the hex bin
      Returns:
      the DataHandler object
    • getArrayList

      public static ArrayList getArrayList(org.apache.axiom.om.OMElement element)
    • 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)
    • getStringValue

      public static String getStringValue(Object obj)
    • makeCalendar

      public static Object makeCalendar(String source)
    • makeDate

      public static Object makeDate(String source)
    • 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)