Package net.sf.jelly.apt.strategies

Examples of net.sf.jelly.apt.strategies.MissingParameterException


  //Inherited.
  protected Iterator<WebFault> getLoop(TemplateModel model) throws TemplateException {
    WebMethod webMethod = this.webMethod;
    if (webMethod == null) {
      throw new MissingParameterException("webMethod");
    }

    return webMethod.getWebFaults().iterator();
  }
View Full Code Here


  //Inherited.
  protected Iterator<EndpointInterface> getLoop(TemplateModel model) throws TemplateException {
    WsdlInfo wsdl = this.wsdl;
    if (wsdl == null) {
      throw new MissingParameterException("wsdl");
    }

    Collection<EndpointInterface> eis = new ArrayList<EndpointInterface>(wsdl.getEndpointInterfaces());
    if (considerFacets) {
      Iterator<EndpointInterface> vit = eis.iterator();
View Full Code Here

    if (endpointInterface == null) {
      endpointInterface = (EndpointInterface) model.getVariable("endpointInterface");

      if (endpointInterface == null) {
        throw new MissingParameterException("endpointInterface");
      }
    }

    Collection<BindingType> bindingTypes = new ArrayList<BindingType>();
    Collection<EndpointImplementation> impls = endpointInterface.getEndpointImplementations();
View Full Code Here

  // Inherited.
  protected Iterator<WebMessage> getLoop(TemplateModel model) throws TemplateException {
    WebMethod webMethod = this.webMethod;
    WsdlInfo wsdlInfo = this.wsdl;
    if ((webMethod == null) && (wsdlInfo == null)) {
      throw new MissingParameterException("Either a webMethod or a wsdl must be specified to iterate over web messages.", "webMethod");
    }

    Collection<WebMessage> messages;
    if (webMethod != null) {
      messages = webMethod.getMessages();
View Full Code Here

  private EndpointInterface endpointInterface;

  protected Iterator<WebMethod> getLoop(TemplateModel model) throws TemplateException {
    EndpointInterface endpointInterface = this.endpointInterface;
    if (endpointInterface == null) {
      throw new MissingParameterException("endpointInterface");
    }

    Collection<WebMethod> webMethods = endpointInterface.getWebMethods();
    if (considerFacets) {
      Iterator<WebMethod> vit = webMethods.iterator();
View Full Code Here

TOP

Related Classes of net.sf.jelly.apt.strategies.MissingParameterException

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.