Examples of changeType()


Examples of org.apache.xmlbeans.XmlObject.changeType()

            WebservicesDocument webservicesDocument;
            if (webservicesDocumentUntyped instanceof WebservicesDocument) {
                webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped;
            } else {
                webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped.changeType(WebservicesDocument.type);
            }
            XmlBeansUtil.validateDD(webservicesDocument);
            return webservicesDocument.getWebservices();
        } catch (XmlException e) {
            throw new DeploymentException("Could not read descriptor document", e);
View Full Code Here

Examples of org.apache.xmlbeans.XmlObject.changeType()

        XmlObject[] converted = new XmlObject[xmlObjects.length];
        for (int i = 0; i < xmlObjects.length; i++) {
            XmlObject xmlObject = xmlObjects[i].copy();
            if (xmlObject.schemaType() != type) {
                converter.convertElement(xmlObject);
                converted[i] = xmlObject.changeType(type);
            } else {
                converted[i] = xmlObject;
            }
            try {
                XmlBeansUtil.validateDD(converted[i]);
View Full Code Here

Examples of org.locationtech.geogig.api.plumbing.diff.DiffEntry.changeType()

        assertNotNull(de.getNewObject());

        String expectedPath = NodeRef.appendChild(pointsName, points1.getIdentifier().getID());
        assertEquals(expectedPath, de.newPath());

        assertEquals(DiffEntry.ChangeType.ADDED, de.changeType());
        assertEquals(ObjectId.NULL, de.oldObjectId());

        assertEquals(newOid, de.newObjectId());
        assertFalse(de.getNewObject().getMetadataId().isNull());
    }
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.