Package com.google.protobuf

Examples of com.google.protobuf.TestBadIdentifiersProto$TestConflictingMethodNames$Interface


            operationNames.add(interfaceOperations[i].getName());
        }

        Interface[] extendedInterfaces = serviceInterface.getExtendedInterfaces();
        for (int i = 0; i < extendedInterfaces.length; i++) {
            Interface extendedInterface = extendedInterfaces[i];
            processInterface(extendedInterface);
        }

    }
View Full Code Here


            QName name = typeDefinition.getName();
            logger.info("TypeDefinition[" + j + "] : name = " + name);
        }

        Interface interfaces[] = descComp.getInterfaces();
        logger.info("There are " + interfaces.length
                + " Interface components.");

        for (int j = 0; j < interfaces.length; j++) {
View Full Code Here

     */
    public InterfaceOperation getInterfaceOperation()
    {
        InterfaceOperation oper = null;
        Binding binding = (Binding)getParent();
        Interface interfac = binding.getInterface();
        if(interfac != null) {
            oper = interfac.getFromAllInterfaceOperations(fRef);
        }
        return oper;
    }
View Full Code Here

    /*
     * @see org.apache.woden.wsdl20.Interface#getExtendedInterface(javax.xml.namespace.QName)
     */
    public Interface getExtendedInterface(QName qname)
    {
        Interface intface = fDescriptionComponent.getInterface(qname);
        return intface;
    }
View Full Code Here

    {
        List interfaces = new Vector();
        for(Iterator it = fExtends.iterator(); it.hasNext();)
        {
            QName qn = (QName)it.next();
            Interface intface = getExtendedInterface(qn);
            if(intface != null) interfaces.add(intface);
        }
       
        Interface[] array = new Interface[interfaces.size()];
        interfaces.toArray(array);
View Full Code Here

       
        if(!(comp instanceof Interface)) {
            return false;
        }
       
        Interface other = (Interface)comp;
       
        //compare {name}
        QName myName = getName();
        if(myName != null && !myName.equals(other.getName())) return false;
       
        /* To compare {extended interfaces} we cannot just retrieve and compare the two sets
         * of extended Interface components because we'd enter a recursive loop. To get the
         * extended interfaces (i.e. to resolve the qnames in the 'extends' attribute)
         * we need to get the set of interfaces available to the Description, which in turn
View Full Code Here

       
        if(!(comp instanceof Interface)) {
            return false;
        }
       
        Interface other = (Interface)comp;
       
        //compare {name}
        QName myName = getName();
        if(myName != null && !myName.equals(other.getName())) return false;
       
        /* To compare {extended interfaces} we cannot just retrieve and compare the two sets
         * of extended Interface components because we'd enter a recursive loop. To get the
         * extended interfaces (i.e. to resolve the qnames in the 'extends' attribute)
         * we need to get the set of interfaces available to the Description, which in turn
View Full Code Here

  testAssertionInterface1010(interfaces, errorReporter);
   
  int numInterfaces = interfaces.length;
  for(int i = 0; i < numInterfaces; i++)
  {
      Interface interfac = interfaces[i];
     
    testAssertionInterface1009(interfac, errorReporter);
   
    validateInterfaceOperations(interfac, interfac.getInterfaceOperations(), errorReporter);
  }
  }
View Full Code Here

   * @throws WSDLException
   */
  protected boolean testAssertionInterface1009(Interface interfac, ErrorReporter errorReporter) throws WSDLException
  {
  Interface[] extendedInterfaces = interfac.getExtendedInterfaces();
  Interface extendedInterface = containsInterface(interfac, extendedInterfaces);
  if(extendedInterface != null)
  {
    errorReporter.reportError(new ErrorLocatorImpl(), "Interface-1009", new Object[]{extendedInterface.getName()}, ErrorReporter.SEVERITY_ERROR);
    return false;
  }
  return true;
  }
View Full Code Here

   */
  protected boolean testAssertionBinding1044(Binding binding, ErrorReporter errorReporter) throws WSDLException
  {
  BindingOperation[] bindingOperations = binding.getBindingOperations();
  BindingFault[] bindingFaults = binding.getBindingFaults();
  Interface bindingInterface = binding.getInterface();
  if(((bindingOperations != null && bindingOperations.length > 0) ||
    (bindingFaults != null && bindingFaults.length > 0)) &&
     bindingInterface == null)
  {
    errorReporter.reportError(new ErrorLocatorImpl(), "Binding-1044", new Object[]{}, ErrorReporter.SEVERITY_ERROR);
View Full Code Here

TOP

Related Classes of com.google.protobuf.TestBadIdentifiersProto$TestConflictingMethodNames$Interface

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.