public class SimpleTypeMapper extends Object
Constructor and Description |
---|
SimpleTypeMapper() |
Modifier and Type | Method and Description |
---|---|
static ArrayList |
getArrayList(org.apache.axiom.om.OMElement element) |
static ArrayList |
getArrayList(org.apache.axiom.om.OMElement element,
String localName) |
static DataHandler |
getDataHandler(org.apache.axiom.om.OMElement element) |
static DataHandler |
getDataHandler(org.apache.axiom.om.OMElement element,
boolean hexBin)
Gets the DataHandler according to hexBin value.
|
static HashSet |
getHashSet(org.apache.axiom.om.OMElement element,
String localName) |
static Object |
getSimpleTypeObject(Class parameter,
org.apache.axiom.om.OMElement value) |
static Object |
getSimpleTypeObject(Class parameter,
String text) |
static String |
getStringValue(Object obj) |
static boolean |
isCollection(Class obj) |
static boolean |
isDataHandler(Class obj) |
static boolean |
isDomDocument(Class classType)
Checks that given classType is a W3C Document.
|
static boolean |
isEnum(Class classType) |
static boolean |
isHashSet(Class obj) |
static boolean |
isMap(Class classType)
Checks weather passed parameter class is a java.util.Map
|
static boolean |
isMultidimensionalObjectArray(Class type)
Checks weather passed parameter class is a multidimensional object array.
|
static boolean |
isObjectArray(Class obj)
Checks weather passed parameter class is java.lang.Object[] or not.
|
static boolean |
isObjectType(Class obj)
Checks weather passed parameter class is java.lang.Object or not.
|
static boolean |
isSimpleType(Class obj) |
static boolean |
isSimpleType(Object obj) |
static boolean |
isSimpleType(String objClassName) |
static Object |
makeCalendar(String source) |
static Object |
makeDate(String source) |
public static Object getSimpleTypeObject(Class parameter, org.apache.axiom.om.OMElement value)
public static ArrayList getArrayList(org.apache.axiom.om.OMElement element, String localName)
public static HashSet getHashSet(org.apache.axiom.om.OMElement element, String localName)
public static DataHandler getDataHandler(org.apache.axiom.om.OMElement element)
public static DataHandler getDataHandler(org.apache.axiom.om.OMElement element, boolean hexBin)
element
- the elementhexBin
- the hex binpublic static ArrayList getArrayList(org.apache.axiom.om.OMElement element)
public static boolean isSimpleType(Object obj)
public static boolean isSimpleType(Class obj)
public static boolean isDataHandler(Class obj)
public static boolean isHashSet(Class obj)
public static boolean isCollection(Class obj)
public static boolean isSimpleType(String objClassName)
public static boolean isObjectArray(Class obj)
obj
- the Class type of particular object.public static boolean isObjectType(Class obj)
obj
- the Class type of particular object.public static boolean isDomDocument(Class classType)
classType
- the class typepublic static boolean isMap(Class classType)
classType
- the class typepublic static boolean isMultidimensionalObjectArray(Class type)
type
- the typepublic static boolean isEnum(Class classType)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.