Examples of toElement()


Examples of org.apache.woden.wsdl20.Description.toElement()

            "org/apache/woden/wsdl20/xml/resources/EndpointElementTest.wsdl");
        assertNotNull("Failed to find the WSDL document on the classpath.", wsdlURL);
       
        Description descComp = fReader.readWSDL(wsdlURL.toString());
        assertNotNull("The reader did not return a description.", descComp);
        fParsedDesc = descComp.toElement();
       
        ServiceElement service = fParsedDesc.getServiceElements()[0];
        assertNotNull("The description does not contain a service.", service);
       
        fParsedEndpoints = service.getEndpointElements();
View Full Code Here

Examples of org.apache.woden.wsdl20.Description.toElement()

            "org/apache/woden/wsdl20/xml/resources/EndpointElementTest.wsdl");
        assertNotNull("Failed to find the WSDL document on the classpath.", wsdlURL);

        Description descComp = fReader.readWSDL(wsdlURL.toString());
        assertNotNull("The reader did not return a description.", descComp);
        fParsedDesc = descComp.toElement();

        ServiceElement service = fParsedDesc.getServiceElements()[0];
        assertNotNull("The description does not contain a service.", service);

        fParsedEndpoints = service.getEndpointElements();
View Full Code Here

Examples of org.apache.woden.wsdl20.Description.toElement()

            "org/apache/woden/wsdl20/xml/resources/ServiceElementTest.wsdl");
        assertNotNull("Failed to find the WSDL document on the classpath.", wsdlURL);

        Description descComp = fReader.readWSDL(wsdlURL.toString());
        assertNotNull("The reader did not return a description.", descComp);
        fParsedDesc = descComp.toElement();

        fParsedService = fParsedDesc.getServiceElements()[0];
        assertNotNull("The description does not contain a service.", fParsedService);
    }
View Full Code Here

Examples of org.apache.woden.wsdl20.InterfaceFault.toElement()

            AxisBindingMessage axisBindingFault = new AxisBindingMessage();
            axisBindingFault.setFault(true);
            axisBindingFault.setName(interfaceFault.getName().getLocalPart());
            axisBindingFault.setParent(axisBinding);

            addDocumentation(axisBindingFault, interfaceFault.toElement());
            SOAPBindingFaultExtensions soapBindingFaultExtensions;

            try {
                soapBindingFaultExtensions = (SOAPBindingFaultExtensions) bindingFault
                        .getComponentExtensionContext(new URI(WSDL2Constants.URI_WSDL2_SOAP));
View Full Code Here

Examples of org.apache.woden.wsdl20.InterfaceFault.toElement()

            AxisBindingMessage axisBindingFault = new AxisBindingMessage();
            axisBindingFault.setFault(true);
            axisBindingFault.setName(interfaceFault.getName().getLocalPart());
            axisBindingFault.setParent(axisBinding);

            addDocumentation(axisBindingFault, interfaceFault.toElement());
            HTTPBindingFaultExtensions httpBindingFaultExtensions;

            try {
                httpBindingFaultExtensions = (HTTPBindingFaultExtensions) bindingFault
                        .getComponentExtensionContext(new URI(WSDL2Constants.URI_WSDL2_HTTP));
View Full Code Here

Examples of org.apache.woden.wsdl20.InterfaceFault.toElement()

        InterfaceOperationElement oper = (InterfaceOperationElement)getParentElement();
        InterfaceElement interfac = (InterfaceElement)oper.getParentElement();
        if (interfac != null) {
            InterfaceFault faultComp = ((Interface)interfac).getFromAllInterfaceFaults(fRef);
            if (faultComp != null) {
                fault = faultComp.toElement();
            }
        }
        return fault;
    }
View Full Code Here

Examples of org.apache.woden.wsdl20.InterfaceFault.toElement()

        BindingElement binding = (BindingElement)getParentElement();
        InterfaceElement interfac = binding.getInterfaceElement();
        if(interfac != null) {
            InterfaceFault faultComp = ((Interface)interfac).getFromAllInterfaceFaults(fRef);
            if (faultComp != null) {
                fault = faultComp.toElement();
            }
        }
        return fault;
    }
View Full Code Here

Examples of org.apache.woden.wsdl20.InterfaceOperation.toElement()

        BindingElement binding = (BindingElement)getParentElement();
        InterfaceElement interfac = binding.getInterfaceElement();
        if(interfac != null) {
            InterfaceOperation operComp = ((Interface)interfac).getFromAllInterfaceOperations(fRef);
            if(operComp != null) {
                oper = operComp.toElement();
            }
        }
        return oper;

    }
View Full Code Here

Examples of org.jasig.portal.layout.dlm.FragmentDefinition.toElement()

   
        final org.dom4j.Document fragmentDefDoc = new org.dom4j.DocumentFactory().createDocument();
        final Element fragmentDefElement = fragmentDefDoc.addElement("fragment-definition");
        fragmentDefElement.addNamespace("dlm", "http://www.uportal.org/layout/dlm");
        fragmentDefElement.addAttribute("script", "classpath://org/jasig/portal/io/import-fragment-definition_v3-1.crn");
    fragmentDefinition.toElement(fragmentDefElement);
       
        return fragmentDefElement;
  }
}
View Full Code Here

Examples of org.jboss.dashboard.ui.resources.GraphicElementPreview.toElement()

        String graphicElementClassName = graphicElement.substring(0, 1).toUpperCase() + graphicElement.substring(1);
        Class graphicElementClass = Class.forName("org.jboss.dashboard.ui.resources." + graphicElementClassName);
        Method managerGetter = graphicElementClass.getMethod("getManager", new Class[]{});
        GraphicElementManager manager = (GraphicElementManager) managerGetter.invoke(null, new Object[]{});
        GraphicElementPreview preview = (GraphicElementPreview) request.getSessionObject().getAttribute(PREVIEW_ATTRIBUTE);
        final GraphicElement element = preview.toElement();
        manager.createOrUpdate(element);
        FormStatus status = SessionManager.getCurrentFormStatus();
        status.clear();
        String successPage = request.getParameter("successPage");
        if (successPage != null) {
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.