Package org.apache.tuscany.sca.implementation.xquery

Examples of org.apache.tuscany.sca.implementation.xquery.XQueryImplementation


        String xqueryLocation = reader.getAttributeValue(null, LOCATION);
        if (xqueryLocation == null) {
            throw new ContributionReadException(MSG_LOCATION_MISSING);
        }
        /* Create the XQuery implementation and set the location into it */
        XQueryImplementation xqueryImplementation =
            XQueryImplementationFactory.INSTANCE.createXQueryImplementation();
        xqueryImplementation.setLocation(xqueryLocation);

        // Skip to end element
        while (reader.hasNext()) {
            if (reader.next() == END_ELEMENT && IMPLEMENTATION_XQUERY_QNAME.equals(reader.getName())) {
                break;
            }
        } // end while

        xqueryImplementation.setUnresolved(true);

        return xqueryImplementation;
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.implementation.xquery.XQueryImplementation

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.