* @return type
*
* @throws XQException XQException
*/
private XQSequenceType getItemType(XQConnection xqconn, Object value) throws XQException {
XQSequenceType xqType = null;
if (value instanceof Long) {
xqType = xqconn.createAtomicType(XQItemType.XQBASETYPE_LONG);
} else if (value instanceof String) {
xqType = xqconn.createAtomicType(XQItemType.XQBASETYPE_STRING);
} else if (value instanceof Boolean) {