Package fr.imag.adele.apam.apform.impl.handlers

Examples of fr.imag.adele.apam.apform.impl.handlers.RelationInjectionHandler$Description


     */
    public InterfaceElement getInterfaceElement()
    {
        //Cast the containing description element to a description component to re-use its
        //logic for navigating a composite wsdl to retrieve the in-scope top-level components.
        Description desc = (Description)fParentElem;
       
        InterfaceElement interfac = (InterfaceElement)desc.getInterface(fInterfaceName);
        return interfac;

    }
View Full Code Here


            System.out.println("validating " + wsdlLoc);

            reportWriter.beginWsdl(wsdlLoc);
            try {
                // <-- the Description component
                Description descComp = reader.readWSDL(wsdlLoc);

                if (isCm()) {
                    // write the Component Model interchange format output file
                    writeCm(descComp, files[i]);
                }
View Full Code Here

  /* (non-Javadoc)
   * @see org.apache.woden.wsdl20.validation.Assertion#validate(java.lang.Object, org.apache.woden.wsdl20.validation.WodenContext)
   */
  public void validate(Object target, WodenContext wodenCtx) throws WSDLException {
    Description desc = (Description)target;
    Interface[] interfaces = desc.getInterfaces();
   
    List names = new ArrayList();
    int numInterfaces = interfaces.length;
    for(int i = 0; i < numInterfaces; i++) {
      QName name = interfaces[i].getName();
View Full Code Here

     * @see org.apache.woden.wsdl20.extensions.http.HTTPHeader#getTypeDefinition()
     */
    public TypeDefinition getTypeDefinition()
    {
        TypeDefinition typeDef = null;
        Description desc = getDescriptionComponent(getParent());
        typeDef = desc.getTypeDefinition(fTypeName);
        return typeDef;
    }
View Full Code Here

     * @see org.apache.woden.wsdl20.Endpoint#getBinding()
     */
    public Binding getBinding()
    {
        ServiceImpl service = (ServiceImpl)getParent();
        Description desc = service.getDescriptionComponent();
        Binding binding = desc.getBinding(fBindingName);
        return binding;
    }
View Full Code Here

    {
        ServiceImpl service = (ServiceImpl)getParentElement();
       
        //Cast the containing description element to a description component to re-use its
        //logic for navigating a composite wsdl to retrieve the in-scope top-level components.
        Description desc = (Description)service.getParentElement();
       
        BindingElement binding = (BindingElement)desc.getBinding(fBindingName);
        return binding;
    }
View Full Code Here

        ElementDeclaration elemDecl = null;
       
        if(fElement != null && fElement.isQName()) {
            InterfaceOperation oper = (InterfaceOperation)getParent();
            Interface interfac = (Interface)oper.getParent();
            Description desc = ((InterfaceImpl)interfac).getDescriptionComponent();
            elemDecl = desc.getElementDeclaration(fElement.getQName());
        }
        return elemDecl;
    }
View Full Code Here

     * @see org.apache.woden.wsdl20.extensions.soap.SOAPHeaderBlock#getElementDeclaration()
     */
    public ElementDeclaration getElementDeclaration()
    {
        ElementDeclaration elemDecl = null;
        Description desc = getDescriptionComponent(getParent());
        elemDecl = desc.getElementDeclaration(fElementDeclQN);
        return elemDecl;
    }
View Full Code Here

           
            //Add errorHandler
            reader.getErrorReporter().setErrorHandler(reportWriter);
           
            // <-- the Description component
            Description descComp = reader.readWSDL(wsdlLoc);

            File xml = new File(wsdlCmLoc);
            FileOutputStream fos = new FileOutputStream(xml);
            PrintWriter out = new PrintWriter(fos);
            WsdlCm wsdlCm = new WsdlCm(out);
View Full Code Here

    {
        ElementDeclaration elemDecl = null;
       
        if(fElement != null && fElement.isQName()) {
            Interface interfac = (Interface)getParent();
            Description desc = ((InterfaceImpl)interfac).getDescriptionComponent();
            elemDecl = desc.getElementDeclaration(fElement.getQName());
        }
        return elemDecl;
    }
View Full Code Here

TOP

Related Classes of fr.imag.adele.apam.apform.impl.handlers.RelationInjectionHandler$Description

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.