Examples of ValueDescription


Examples of net.sf.gluebooster.java.booster.essentials.meta.ValueDescription

  }

  @Test
  public void testParsing() throws Exception {
    SourcePreprocessor processor = new SourcePreprocessor();
    ValueDescription valueDescription = processor.getConfiguration()
        .getValueDescription();
    String file1 = new File("x").getCanonicalPath();
    String file2 = new File("y").getCanonicalPath();
    String file3 = new File("z").getCanonicalPath();
    String[] parameters = new String[] {
View Full Code Here

Examples of net.sf.gluebooster.java.booster.essentials.meta.ValueDescription

      if (parameters[i] == null)
        parameters[i] = "";
    }

    ObjectDescription configuration = getConfiguration();
    ValueDescription valueDescription = configuration.getValueDescription();

    GnuParser parser = new GnuParser();
    try {
      valueDescription.setValue(parser.parse(getCommandLineOptions(),
        parameters));
    } catch (ParseException ex) {
      throw new ParseException(ex.getLocalizedMessage()
          + "\nOptions were " + Arrays.asList(parameters) + "\n"
          + getOptionsHelp());
View Full Code Here

Examples of net.sf.gluebooster.java.booster.essentials.meta.ValueDescription

    ObjectDescription configuration = new ObjectDescription(
        SourcePreprocessor.class.getSimpleName() + " configuration",
        "Configuration of the transform method of the "
            + SourcePreprocessor.class.getSimpleName());
    ValueDescription value = new ValueDescription(Map.class
    /*
     * Map.class has changed to commandline
     */);
    configuration.setValueDescription(value);
    value.addSubdescription(new ObjectDescription(
        IoBoostUtils.PARAMETERNAME_ENCODING,
        "Encoding of generated files", String.class, true));
    value.addSubdescription(new ObjectDescription(PARAMETERNAME_SRC_ROOT,
        "The root directory of the files to process", File.class, true));
    value.addSubdescription(new ObjectDescription(
        PARAMETERNAME_GENERATED_JAVA_ROOT,
        "The root directory of the generated java files", File.class,
        true));
    value.addSubdescription(new ObjectDescription(
        PARAMETERNAME_GENERATED_RESOURCES_ROOT,
        "The root directory of generated resource files", File.class,
        true));

    setConfiguration(configuration);
View Full Code Here

Examples of org.omg.CORBA.ValueDescription

        String defined_in_id = "IR";

        if (defined_in instanceof org.omg.CORBA.ContainedOperations)
            defined_in_id = ((org.omg.CORBA.ContainedOperations) defined_in).id();

        ValueDescription md = new ValueDescription(name, id, is_abstract,
                is_custom,
                defined_in_id, version,
                supported_interfaces,
                abstract_base_valuetypes,
                false,
View Full Code Here

Examples of org.omg.CORBA.ValueDescription

        String defined_in_id = "IR";

        if (defined_in instanceof org.omg.CORBA.ContainedOperations)
            defined_in_id = ((org.omg.CORBA.ContainedOperations) defined_in).id();

        ValueDescription md = new ValueDescription(name, id, is_abstract,
                is_custom,
                defined_in_id, version,
                supported_interfaces,
                abstract_base_valuetypes,
                false,
View Full Code Here

Examples of org.omg.CORBA.ValueDescription

      String defined_in_id = "IR";
      if (defined_in instanceof org.omg.CORBA.ContainedOperations)
         defined_in_id = ((org.omg.CORBA.ContainedOperations)defined_in).id();
      ValueDescription md = new ValueDescription(name, id, is_abstract,
                                                 is_custom,
                                                 defined_in_id, version,
                                                 supported_interfaces,
                                                 abstract_base_valuetypes,
                                                 false,
View Full Code Here

Examples of org.omg.CORBA.ValueDescription

/* 499 */     String defined_in_id = "IR";
/*     */
/* 501 */     if ((this.defined_in instanceof ContainedOperations)) {
/* 502 */       defined_in_id = ((ContainedOperations)this.defined_in).id();
/*     */     }
/* 504 */     ValueDescription md = new ValueDescription(this.name, this.id, this.is_abstract, this.is_custom, defined_in_id, this.version, this.supported_interfaces, this.abstract_base_valuetypes, false, this.baseValue);
/*     */
/* 512 */     Any any = getORB().create_any();
/*     */
/* 514 */     ValueDescriptionHelper.insert(any, md);
/*     */
View Full Code Here

Examples of org.omg.CORBA.ValueDescription

        String defined_in_id = "IR";

        if (defined_in instanceof org.omg.CORBA.ContainedOperations)
            defined_in_id = ((org.omg.CORBA.ContainedOperations) defined_in).id();

        ValueDescription md = new ValueDescription(name, id, is_abstract,
                is_custom,
                defined_in_id, version,
                supported_interfaces,
                abstract_base_valuetypes,
                false,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.