Package rocket.beans.rebind.stringvalue

Examples of rocket.beans.rebind.stringvalue.StringValue


    final GeneratorContext context = this.getGeneratorContext();

    final Type string = context.getString();
    final Method setter = serviceDefTarget.getMostDerivedMethod(Constants.SET_SERVICE_ENTRY_POINT, Collections.nCopies(1, string));
    final StringValue addressValue = new StringValue();
    addressValue.setGeneratorContext(context);
    addressValue.setType(string);

    final String serviceEntryPoint = rpc.getServiceEntryPoint();
    addressValue.setValue(serviceEntryPoint);

    body.addProperty(setter, addressValue);

    context.debug("serviceEntryPoint: \"" + serviceEntryPoint + "\"");
  }
View Full Code Here


    return nullValue;
  }

  protected StringValue visitValue(final Element element) {
    final StringValue stringValue = new StringValue();
    final String text = this.getPlaceHolderResolver().resolve(element.getTextContent());

    final GeneratorContext context = this.getGenerator().getGeneratorContext();
    stringValue.setFilename(this.getFilename());
    stringValue.setGeneratorContext(context);
    stringValue.setType(context.getString());
    stringValue.setValue(text);

    return stringValue;
  }
View Full Code Here

TOP

Related Classes of rocket.beans.rebind.stringvalue.StringValue

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.