Examples of toElement()


Examples of com.ximpleware.VTDNav.toElement()

                                    VTDNav vnjob_properties = vnjob.cloneNav();
                                    HashMap<String, String> prop = new HashMap<String, String>();
                                    if (vnjob_properties.toElement(VTDNav.FC)) {
                                        do {
                                            prop.put(vnjob_properties.toString(vnjob_properties.getCurrentIndex()), vnjob_properties.toString(vnjob_properties.getText()));
                                        } while (vnjob_properties.toElement(VTDNav.NEXT_SIBLING));
                                        cron_map.put(TAG_XML_CRON_JOB_PROPERTIES, prop);
                                    }

                                } else {
                                    cron_map.put(vnjob.toString(vnjob.getCurrentIndex()), vnjob.toString(vnjob.getText()));
View Full Code Here

Examples of edu.pitt.dbmi.nlp.noble.terminology.Terminology.toElement()

    Terminology term = getTerminology();
    if(term instanceof CompositTerminology){
      for(Terminology t : ((CompositTerminology)term).getTerminologies())
        root.appendChild(t.toElement(doc));
    }else{
      root.appendChild(term.toElement(doc));
    }
    // append template element
    return root;
  }
 
View Full Code Here

Examples of edu.pitt.terminology.Terminology.toElement()

    Terminology term = getTerminology();
    if(term instanceof CompositTerminology){
      for(Terminology t : ((CompositTerminology)term).getTerminologies())
        root.appendChild(t.toElement(doc));
    }else{
      root.appendChild(term.toElement(doc));
    }
    // append template element
    return root;
  }
 
View Full Code Here

Examples of org.apache.woden.internal.wsdl20.BindingOperationImpl.toElement()

                    axisService.getOperation(interfaceOperation.getName());

            axisBindingOperation.setAxisOperation(axisOperation);
            axisBindingOperation.setParent(axisBinding);
            axisBindingOperation.setName(axisOperation.getName());
            addDocumentation(axisBindingOperation, bindingOperation.toElement());
            SOAPBindingOperationExtensions soapBindingOperationExtensions;
            try {
                soapBindingOperationExtensions = ((SOAPBindingOperationExtensions)
                        bindingOperation.getComponentExtensionContext(
                                new URI(WSDL2Constants.URI_WSDL2_SOAP)));
View Full Code Here

Examples of org.apache.woden.internal.wsdl20.BindingOperationImpl.toElement()

            axisBindingOperation.setAxisOperation(axisOperation);
            axisBindingOperation.setParent(axisBinding);
            axisBindingOperation.setName(axisOperation.getName());

            addDocumentation(axisBindingOperation, bindingOperation.toElement());
            HTTPBindingOperationExtensions httpBindingOperationExtensions;
            try {
                httpBindingOperationExtensions = ((HTTPBindingOperationExtensions)
                        bindingOperation.getComponentExtensionContext(
                                new URI(WSDL2Constants.URI_WSDL2_HTTP)));
View Full Code Here

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

                    bindingOperation.getBindingFaultReferences();
            for (int j = 0; j < bindingFaultReferences.length; j++) {
                BindingFaultReference bindingFaultReference = bindingFaultReferences[j];

                AxisBindingMessage axisBindingMessageFault = new AxisBindingMessage();
                addDocumentation(axisBindingMessageFault, bindingFaultReference.toElement());
                axisBindingMessageFault.setParent(axisBindingOperation);
                axisBindingMessageFault.setFault(true);
                axisBindingMessageFault.setName(bindingFaultReference.getInterfaceFaultReference()
                        .getInterfaceFault().getName().getLocalPart());
View Full Code Here

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

                axisBindingMessageFault.setFault(true);
                axisBindingMessageFault.setName(bindingFaultReference.getInterfaceFaultReference()
                        .getInterfaceFault().getName().getLocalPart());
                axisBindingMessageFault.setParent(axisBindingOperation);
                axisBindingOperation.addFault(axisBindingMessageFault);
                addDocumentation(axisBindingMessageFault, bindingFaultReference.toElement());

            }

            axisBinding.setProperty(WSDL2Constants.HTTP_LOCATION_TABLE, httpLocationTable);
            axisBinding.addChild(axisBindingOperation.getName(), axisBindingOperation);
View Full Code Here

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

            for (int j = 0; j < bindingMessageReferences.length; j++) {
                BindingMessageReference bindingMessageReference = bindingMessageReferences[j];

                AxisBindingMessage axisBindingMessage = new AxisBindingMessage();
                axisBindingMessage.setParent(axisBindingOperation);
                addDocumentation(axisBindingMessage, bindingMessageReference.toElement());
                AxisMessage axisMessage = axisOperation.getMessage(bindingMessageReference
                        .getInterfaceMessageReference().getMessageLabel().toString());

                axisBindingMessage.setAxisMessage(axisMessage);
                axisBindingMessage.setName(axisMessage.getName());
View Full Code Here

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

                axisBindingMessage.setAxisMessage(axisMessage);
                axisBindingMessage.setName(axisMessage.getName());
                axisBindingMessage.setDirection(axisMessage.getDirection());

                addDocumentation(axisBindingMessage, bindingMessageReference.toElement());
                HTTPBindingMessageReferenceExtensions httpBindingMessageReferenceExtensions;
                try {
                    httpBindingMessageReferenceExtensions =
                            (HTTPBindingMessageReferenceExtensions) bindingMessageReference
                                    .getComponentExtensionContext(
View Full Code Here

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

    public void testGetSoapModules_input()
    {
        BindingMessageReference bindMsgRef = fBindOper.getBindingMessageReferences()[0];
        assertNotNull("The BindingOperation does not contain a BindingMessageReference.", bindMsgRef);

        BindingMessageReferenceElement bindMsgRefEl = bindMsgRef.toElement();
        Direction direction = bindMsgRefEl.getDirection();
        assertTrue("The BindingMessageReference does not represent an <input> element.", Direction.IN.equals(direction));

        SOAPBindingMessageReferenceExtensions soapBindMsgRefExts =
            (SOAPBindingMessageReferenceExtensions) bindMsgRef.getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
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.