Package com.bloomberglp.blpapi.Schema

Examples of com.bloomberglp.blpapi.Schema.Datatype


  /**
   * @param valueElement the value element
   * @return the parsed value
   */
  public static Object parseValue(final Element valueElement) {
    final Datatype datatype = valueElement.datatype();
    if (datatype == Datatype.STRING) {
      return valueElement.getValueAsString();
    } else if (datatype == Datatype.BOOL) {
      return valueElement.getValueAsBool();
    } else if (datatype == Datatype.BYTEARRAY) {
View Full Code Here

TOP

Related Classes of com.bloomberglp.blpapi.Schema.Datatype

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.