Examples of toXml()


Examples of org.apache.jackrabbit.webdav.property.PropContainer.toXml()

            for (Integer statusKey : statusMap.keySet()) {
                Status st = new Status(statusKey);
                PropContainer propCont = statusMap.get(statusKey);
                if (!propCont.isEmpty()) {
                    Element propstat = DomUtil.createElement(document, XML_PROPSTAT, NAMESPACE);
                    propstat.appendChild(propCont.toXml(document));
                    propstat.appendChild(st.toXml(document));
                    response.appendChild(propstat);
                }
            }
        } else {
View Full Code Here

Examples of org.apache.maven.scm.ChangeSet.toXML()

        assertFalse( "The changed files list is empty ", changedSets.isEmpty() );

        for ( Iterator<ChangeSet> i = changedSets.iterator(); i.hasNext(); )
        {
            ChangeSet changeSet = i.next();
            System.out.println( changeSet.toXML() );
        }

        // ----------------------------------------------------------------------
        // Assert the files in the updated files list
        // ----------------------------------------------------------------------
View Full Code Here

Examples of org.apache.maven.scm.command.changelog.ChangeLogSet.toXML()

        for ( Iterator sets = changelogList.iterator(); sets.hasNext(); )
        {
            changelogXml.append( "\n  " );

            ChangeLogSet changelogSet = (ChangeLogSet) sets.next();
            String changeset = changelogSet.toXML( outputEncoding );

            //remove xml header
            if ( changeset.startsWith( "<?xml" ) )
            {
                int idx = changeset.indexOf( "?>" ) + 2;
View Full Code Here

Examples of org.apache.muse.core.routing.MessageHandler.toXML()

            //
            // invoke operation and translate result to XML
            //
            Object result = method.invoke(capability, parameters);
           
            return handler.toXML(result);
        }
       
        catch (Throwable error)
        {
            //
View Full Code Here

Examples of org.apache.muse.core.serializer.Serializer.toXML()

        SerializerRegistry registry = SerializerRegistry.getInstance();
        Serializer ser = registry.getSerializer(type);       
        Element[] xml = new Element[properties.length];
       
        for (int n = 0; n < properties.length; ++n)
            xml[n] = ser.toXML(properties[n], qname);
       
        return xml;
    }

    /**
 
View Full Code Here

Examples of org.apache.muse.ws.addressing.EndpointReference.toXML()

            throw new NullPointerException(_MESSAGES.get("NullDocument"));
       
        Element root = XmlUtils.createElement(factory, WssgConstants.ADD_QNAME);
       
        EndpointReference epr = getMemberEPR();
        XmlUtils.setElement(root, WssgConstants.MEMBER_EPR_QNAME, epr.toXML());
       
        WsResourceClient member = new WsResourceClient(epr);
        Element content = getContent();
       
        //
View Full Code Here

Examples of org.apache.muse.ws.addressing.MessageHeaders.toXML()

        // if there's a source EPR, we can provide a wsa:From
        //
        if (source != null)
            headers.setFromAddress(source);

        Element headersXML = headers.toXML(doc);
        soapXML.appendChild(headersXML);
       
        //
        // copy data into SOAP body
        //
View Full Code Here

Examples of org.apache.muse.ws.addressing.soap.SoapFault.toXML()

       
        if (capability == null)
        {
            Object[] filler = { getContextPath(), action };
            SoapFault fault = new SoapFault(_MESSAGES.get("ActionNotSupported", filler));
            return fault.toXML();
        }
       
        MessageHandler handler = capability.getMessageHandler(action);
        Method method = handler.getMethod();
       
View Full Code Here

Examples of org.apache.muse.ws.dm.muws.Match.toXML()

        Iterator i = matches.iterator();
       
        while (i.hasNext())
        {
            Match next = (Match)i.next();
            root.appendChild(next.toXML(doc));
        }
       
        return root;
    }
}
View Full Code Here

Examples of org.apache.muse.ws.dm.muws.RelationshipResource.toXML()

       
        for (int n = 0; n < relationships.length; ++n)
        {
            RelationshipResource capability =
                (RelationshipResource)relationships[n].getCapability(MuwsConstants.RELATIONSHIP_RESOURCE_URI);
            relationshipXML[n] = capability.toXML();
        }
       
        return relationshipXML;
    }
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.