public static _float fromString(java.lang.String value, java.lang.String namespaceURI){ _float returnValue = new _float(); returnValue.set_float( org.apache.axis2.databinding.utils.ConverterUtil.convertToFloat(value)); return returnValue; }
public static _float fromString(java.lang.String value, java.lang.String namespaceURI){ _float returnValue = new _float(); returnValue.set_float( org.apache.axis2.databinding.utils.ConverterUtil.convertToFloat(value)); return returnValue; }
/** * Extracts data from the payload using the provided XPath and converts into a Float * * @param xpath xpath to be used to extract the data * @return <code>float</code> if it is possible to create a float, * otherwise throws an exception */ public float selectFloat(String xpath) { Object o = select(xpath); if (o instanceof Float) { return (Float) o; } else if (o instanceof String) { return ConverterUtil.convertToFloat((String) o); } else { throw new LoggedRuntimeException("Invalid XPath : " + xpath + " Can not select" + " a float from the value : " + o, log); } }
org.apache.axis2.databinding.utils.ConverterUtil.convertToFloat(content));
org.apache.axis2.databinding.utils.ConverterUtil.convertToFloat(content));
org.apache.axis2.databinding.utils.ConverterUtil.convertToFloat(content));
org.apache.axis2.databinding.utils.ConverterUtil.convertToFloat(content));
sqlStatement.setNull(ordinalPosition, type); } else { sqlStatement.setFloat(ordinalPosition, ConverterUtil.convertToFloat(value));
org.apache.axis2.databinding.utils.ConverterUtil.convertToFloat(content));
org.apache.axis2.databinding.utils.ConverterUtil.convertToFloat(content));
} else if (colType.equals(XSDDatatype.XSDfloat.getURI())) { return ConverterUtil.convertToString(ConverterUtil .convertToFloat(soln.getLiteral(colName).getString())); } else if (colType.equals(XSDDatatype.XSDstring.getURI())) { return soln.getLiteral(colName).getString();
} else if (colType.equals(XSDDatatype.XSDfloat.getURI())) { return ConverterUtil.convertToString(ConverterUtil .convertToFloat(soln.getLiteral(colName).getString())); } else if (colType.equals(XSDDatatype.XSDstring.getURI())) { return soln.getLiteral(colName).getString();
case SINGLE: propertyType = EdmPrimitiveTypeKind.Single.getFullQualifiedName().getFullQualifiedNameAsString(); value = paramValue == null ? null : ConverterUtil.convertToFloat(paramValue); break; case TIMEOFDAY: