congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IData.getSupportedClass
Code IndexAdd Tabnine to your IDE (free)

How to use
getSupportedClass
method
in
org.n52.wps.io.data.IData

Best Java code snippets using org.n52.wps.io.data.IData.getSupportedClass (Showing top 2 results out of 315)

origin: org.n52.wps/52n-wps-sextante

}else if (type.equals("Selection") && wpsInputParameters.size() == 1){
    IData param = wpsInputParameters.get(0);
    if(param.getSupportedClass().equals(String.class)){
      AdditionalInfoSelection ai = (AdditionalInfoSelection) parameter.getParameterAdditionalInfo();
      String[] values = ai.getValues();
origin: org.n52.wps/52n-wps-mc

private static final IODataType probeMCDataType(IData iData) {
  Class< ? > clazz = iData.getSupportedClass();
  if (clazz == IODataType.BOOLEAN.getSupportedClass()) {
    return IODataType.BOOLEAN;
  }
  if (clazz == IODataType.DOUBLE.getSupportedClass()) {
    return IODataType.DOUBLE;
  }
  if (clazz == IODataType.INTEGER.getSupportedClass()) {
    return IODataType.INTEGER;
  }
  if (clazz == IODataType.STRING.getSupportedClass()) {
    return IODataType.STRING;
  }
  if (clazz == GenericFileData.class) {
    return IODataType.MEDIA;
  }
  // in case we do not find a matching type return null
  return null;
}
org.n52.wps.io.dataIDatagetSupportedClass

Popular methods of IData

  • getPayload

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now